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 only displaying records in GridGroupingControl ?

Thread ID:





114254 Nov 8,2013 05:13 AM Nov 18,2013 02:26 PM Windows Forms 1
Tags: Grouping
Shashi Bhushan Kumar
Asked On November 8, 2013 05:13 AM

I am using GridGroupingControl which has hundreds of record, i want to get the records which are displaying currently in the GGC.
How can i achieve this ?

Anish George [Syncfusion]
Replied On November 18, 2013 02:26 PM

Hi Sashi,


Thank you for your interest in Syncfusion products.


You can use the below code snippet for getting the records which are been currently displayed in the grid.



GridRangeInfo range  = this.gridGroupingControl1.TableControl.ViewLayout.VisibleCellsRange;

int toprowindex = range.Top;

int bottomrowindex = range.Bottom;

object[] ob = new object[bottomrowindex];

int j = 0;

for (int i = toprowindex; i < bottomrowindex; i++)


ob[j] = gridGroupingControl1.Table.Records[i].GetData();




Please let us know know if you need any further assistance.





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.