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.

Datagrid - How can I get the row number of parent row in a hierarchical grid.

Thread ID:




3149 Mar 5,2003 06:15 AM Windows Forms 0
Tags: FAQ
Asked On March 5, 2003 06:15 AM

I have created a collection of my class This collection has a hierarchy of the order Batch -> Documents -> Properties This is not a Dataset but a user defined collection. I have bound this collection to a Datagrid. Now when I am viewing the Properties for a Document under a Batch, how can I find the row number to which this document belongs? as the currentcell property returns the row/column of the current cell (Properties) & the CurrentRowIndex returns the row number of the Batch selected.


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.