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
close icon

How to get range of rowindex when we select multiple rows of gridgrouping control

Hi,
I am using gridgrouping control.
I want to get range of rowindex when we select multiple rows of gridgrouping control.
Please give me any solution regarding to my issue.
 
Regards,
Rasika

1 Reply

SA Solai A L Syncfusion Team November 3, 2014 04:23 AM UTC

Hi Rasika, 

Thank you for your interest in Syncfusion products. 

In our Grid Grouping Control, we have a method GetSelectedRanges().From this you can get the details of rows and columns. Please refer the below code snippet for further clarification. 
Code snippet: 
GridRangeInfoList range; int startindex, endindex; 
this.ggcGrid.TableModel.Selections.GetSelectedRanges(out range, true); 
startindex = range.ActiveRange.Top; endindex = range.ActiveRange.Bottom; 

 Please let us know if you have any concerns. 

 Thanks & Regards, 
AL.Solai

Loader.
Live Chat Icon For mobile
Up arrow icon