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

Thread ID:

Created:

Updated:

Platform:

Replies:

54994 Jan 22,2007 09:51 AM Jan 22,2007 10:56 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 22, 2007 09:51 AM

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

Administrator [Syncfusion]
Replied On January 22, 2007 10:56 AM

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

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.

;