DW
dwedewdew
March 23, 2006 11:30 AM UTC
>How do we get the RowIndex of the selected row in a grid? for eg: If I select the 4th row in the grid then the returned index should be 4.
The grids selections are stored in this.gridControl1.Selections .
There you find Ranges.ActiveRange .
ActiveRange.Top gives you the starting row index of your selection, ActiveRange.Bottom the last rowIndex of your selection etc.
Yours
Christian!
AD
Administrator
Syncfusion Team
March 23, 2006 01:02 PM UTC
Hi Christian,
Thanks for the prompt response.We appreciate it.
The solution works.
Thanks again.
Regards,
Preethi.
>
>>How do we get the RowIndex of the selected row in a grid? for eg: If I select the 4th row in the grid then the returned index should be 4.
>
>The grids selections are stored in this.gridControl1.Selections .
>
>There you find Ranges.ActiveRange .
>ActiveRange.Top gives you the starting row index of your selection, ActiveRange.Bottom the last rowIndex of your selection etc.
>
>Yours
>
>Christian!