How to Embedded one Window Form datagrid as row of other datagrid

T

TusharP

Hi Friends,
My requirement are as follow.....
1) First DataGrid display all row of one table, with this one additional
column having +/- control like tree.
2) When user click on +/- control DataGrid row must expand & show rows of
other table (filtered row based on clicked row values). I thing we need
embedded datagrid to show expanded row.
Is am I right?
Is it possible to embedd datagrid as row in other datagrid?

Need Urgent Help.

Thanking You
Tushar P.
 
E

Etienne Charland

Well, if the DataGrid is bound to a dataset containing multiple tables and
relations, it will allow you to navigate the relations, that is, view child
rows of a parent row. But the interface is not like you wish, and I must say
it's not an interesting interface for an application. I use it only for
debuging or testing, since it allows me to view the whole dataset.

To do what you want, that is, expand a row to display another grid, you'll
have to buy a commercial grid that offers more features.
 

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