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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to access a random DataRow behind a bound grid

Thread ID:





26424 Mar 22,2005 08:55 PM UTC Mar 22,2005 11:06 PM UTC WinForms 1
Tags: GridControl
Asked On March 22, 2005 08:55 PM UTC

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 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon