Converting UnderlyingLayer coordinates to GridLayer coordinates? [message #1064640] |
Thu, 20 June 2013 07:16  |
Eclipse User |
|
|
|
Hello!
I implemented a Layer "MyLayer" and made it a part of the table-bodystack.
On top of the Stack there is a Gridlayer, as on this picture http://www.eclipse.org/nattable/images/NatTable_Architecture.png
Now the cell coordinates inside GridLayer do not match the cell coordinates inside of "MyLayer" since the GridLayer is increased by "ColumnHeaderayer" and "RowHeaderLayer".
E.g. if "ColumnHeaderayer" and "RowHeaderLayer" have the height/width of 1 cell -
Coordinates 5/5 in "MyLayer" would become 6/6 in GridLayer.
Question:
Is there a possibility to convert the cell coordinates in "MyLayer" to Gridlayer coordinates?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03870 seconds