can we span column Header cells using spanningDataLayer in Nattable [message #1701690] |
Wed, 15 July 2015 00:45  |
Eclipse User |
|
|
|
I am trying to span column header cells , for that i have written a custom columnDataProvider that implements ISpanningDataProvider.
That custom columnDataProvider i ve given to SpanningDataLayer and that instance to columnHeaderLayer and so on.
In my custom columnDataProvider i ve implemented the method getCellByPosition, getDataValue,getColumnRount, getRoeCount.
While debugging my code, debug point is not entering into the method getCellByPosition only so spanning is not happening, it just takes getDataValue and prints out the value.
My question is when i am using custom data provider that implements ISpanningDataProvider an d using spanningDataLayer means that method public DataCell getCellByPosition(int columnPosition, int rowPosition) {} should gets executed right? in my case why it is not happening.
The other method i tried using ColumnGroupLayer my requirement is working fine.
So is that spanningDataLayer is not applicable to columnHeaderCells or rowHeaderCells, i ve seen nattable examples where body cells are spanned?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05047 seconds