View previous topic :: View next topic |
Author |
Message |
keesp Guest
|
Posted: Mon Oct 10, 2005 7:42 am Post subject: first row index question |
|
|
Hi,
I have made an implementation where I use the first row index to last row index as reference for a paint action in a certain column. The result of this is, that a line is painted in this column from one row to another to show a certain link relationship. This works fine, but when the linked row reaches the top of the virtual tree, the paint action is shown over the column headers, as if the the top row is the row behind the column headers. Could this indeed be the case?
I have sent an image of this problem to support@infralution.com
Thanks
Kees |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Oct 10, 2005 10:21 pm Post subject: |
|
|
Thanks for the images. The problem is that you are using FirstRowIndex – which will always return 0 or 1 (ie the first row visible in the tree). I think you want to use TopRowIndex – which gives the index of the current row at the top of the tree. _________________ Infralution Support |
|
Back to top |
|
|
keesp Guest
|
Posted: Tue Oct 11, 2005 10:22 am Post subject: you are very right |
|
|
I have applied this and it works fine!
I thought that the toprow index was used for the first row in the tree regardless if this was visible or not.
Thanks
Kees |
|
Back to top |
|
|
|