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 access a random DataRow behind a bound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

26424 Mar 22,2005 03:55 PM Mar 22,2005 06:06 PM Windows Forms 1
loading
Tags: GridControl
Virgil
Asked On March 22, 2005 03:55 PM

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

Administrator [Syncfusion]
Replied On March 22, 2005 06:06 PM

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

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.

;