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

How to access a random DataRow behind a bound grid

I know how to access the DataRow for the current row, but how would I access a random DataRow given a RowIndex in the grid? I am asking because I am using a hierarchical grid and need to update values on a parent row when a child row is changed. Thanks, Virgil

1 Reply

AD Administrator Syncfusion Team March 22, 2005 11:06 PM UTC

Given a RowIndex in a hierarchical grid, you can use the grid.Binder.GetRecordStateAt to retrieve a GridBoundRecordState object that has the information you need to access the child datasource and the parent datasource. Here is a forum thread that has a little sample showing how you can use this object. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16199

Loader.
Live Chat Icon For mobile
Up arrow icon