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 the underlying record for a given row in GGC?

Hi,
I'm using gridGroupingControl to bind to a custom IList collection, and I'm displaying grouping info on the grid (group heads and footers). My question is given a row index on the grid, say row 5, how do i get the underlying record this row is bound to?
Thanks,
Frank

1 Reply

AD Administrator Syncfusion Team January 22, 2007 03:56 PM UTC

Hi Frank,

Here is a code snippet that shows how to access a record from a table given the rowindex of it.

// using the displayelements property of the grid, we can find the corresponding record.
Record r = gridGroupingControl1.Table.DisplayElements[rowindex].ParentRecord;

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon