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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

117508 Oct 31,2014 07:29 AM Nov 2,2014 11:23 PM Windows Forms 1
loading
Tags: GridGroupingControl
Rasika
Asked On October 31, 2014 07:29 AM

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

Solai A L [Syncfusion]
Replied On November 2, 2014 11:23 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;