We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hw do i get specific list of all rows selected

The Grid Info List returns a range of all rows..(R3:R8)...Hw do i get a list of row indices like
3,4,5,6,7,8

1 Reply

HA haneefm Syncfusion Team April 20, 2007 05:52 PM UTC

Hi Rahul,

You can try this code.

foreach( GridRangeInfo info in this.grid.Model.SelectedRanges)
{
for( int i = info.Top; i <=info.Bottom;i++)
{
Console.WriteLine("RowIndex {0} has been selected",info.Top);
}
}

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon