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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get only displaying records in GridGroupingControl ?

Thread ID:





114254 Nov 8,2013 10:13 AM UTC Nov 18,2013 07:26 PM UTC WinForms 1
Tags: Grouping
Shashi Bhushan Kumar
Asked On November 8, 2013 10:13 AM UTC

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 07:26 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon