How to determine which child rows selected in heirarchcal datagrid

G

Guest

I have a datagrid which displays rows from a parent datatable.
I use a datarelation so the user can expand the child rows.
How can I tell programatically when the user has expanded the child
rows for a given parent row?
How can I tell which if any child rows are selected?
I am using dataviews as datasources for the datagrid.
 
K

Ken Tucker [MVP]

Hi,

Take a look at the datagrids navigate event

http://msdn.microsoft.com/library/d...temwindowsformsdatagridclassnavigatetopic.asp

Ken
-----------------------
I have a datagrid which displays rows from a parent datatable.
I use a datarelation so the user can expand the child rows.
How can I tell programatically when the user has expanded the child
rows for a given parent row?
How can I tell which if any child rows are selected?
I am using dataviews as datasources for the datagrid.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top