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

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 ?

1 Reply

AG Anish George Syncfusion Team 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.




Live Chat Icon For mobile
Up arrow icon