Datagrid Row Navigation

C

Chris Fairman

NG,

I have a Dataset with multiple tables and relations defined.

Currently when displaying a table from this Dataset in a DataGrid a
hyper-link to the child rows is displayed. After clicking on the
hyper-link, all the data in the DataGrid is 'removed' and replaced with
only the parent row, and the child rows. I'm able to navigate back fort
between Parent and child records without problems. However, this seems a
bit clumsy.

I'm looking for information on how to extend the native
System.Windows.Forms.DataGrid to display the child rows immediately below
the parent row (Ideally it would be offset a little).

My experience extending controls is limited, and would appreciate any
hints or tips pointing me in the right direction.

I know this functionality exists in 3rd party controls, but I'm not in a
position to purchase them. I need to either extend the control myself, or
use someone else's 'Free' one.

I've searched this newsgroup and others, as well as the web without much
luck. ;\

Thanks in advance,
-Chris
 
K

Ken Tucker [MVP]

Hi,

In the vb.net resource kit there is a free one from component one.
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx


Ken
-------------
NG,

I have a Dataset with multiple tables and relations defined.

Currently when displaying a table from this Dataset in a DataGrid a
hyper-link to the child rows is displayed. After clicking on the
hyper-link, all the data in the DataGrid is 'removed' and replaced with
only the parent row, and the child rows. I'm able to navigate back fort
between Parent and child records without problems. However, this seems a
bit clumsy.

I'm looking for information on how to extend the native
System.Windows.Forms.DataGrid to display the child rows immediately below
the parent row (Ideally it would be offset a little).

My experience extending controls is limited, and would appreciate any
hints or tips pointing me in the right direction.

I know this functionality exists in 3rd party controls, but I'm not in a
position to purchase them. I need to either extend the control myself, or
use someone else's 'Free' one.

I've searched this newsgroup and others, as well as the web without much
luck. ;\

Thanks in advance,
-Chris
 

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