The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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.
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!
ADAdministrator 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!