Hi, everyone
I'd like to know, how can I determine which row will be displayed after event handling. For example, I have 400 px height grid, and 3000 rows inside. After I press a button, I want one of the last row (lets say, indexed 2000) to be scrolled to the second position (in saying scrolled, I mean that the order remains, and the chosen row will jump to the second location). My question is, how to scroll rows inside grid control at run time.
Thanks in advance, and have a nice day :)
Allon
LS
Lingaraj S
Syncfusion Team
October 12, 2009 10:50 AM UTC
Hi Allon,
Thank you for your interest in Syncfusion products.
Please try using TopRowIndex property in GridControl to achieve your requirement as shown in below:
// Top row index specify the first row in GridControl
// In this 2000 th row placed in second position in GridControl view
this.gridControl1.TopRowIndex = 1999;
Please let me know if you have any queries.
Regards,
Lingaraj S.
AL
Allon
October 12, 2009 11:56 AM UTC
Hi, Lingaraj S.
It works very well now.
Thanks a lot and have a nice day :)
Allon
RC
Rajadurai C
Syncfusion Team
October 13, 2009 04:27 AM UTC
Hi Allon,
Thanks for your update.
Regards,
Rajadurai