Heiarchical datagrid

  • Thread starter Thread starter dbuchanan
  • Start date Start date
D

dbuchanan

What does it take to make a datagrid heiarchical?

Don't you have to deliberatly set some properties or write code to make
a datagrid heiarchical?

My datagrid should be one level but it recently became heiarchical.
What is it that I could have done to unknowingly make my standard
datagrid heiarchical?
 
Hi,

You need a third party grid for that. Here is an example showing
how to keep a few grid in sync.

www.windowsformsdatagridhelp.info/downloads/multigrids.zip

Ken
---------------------
What does it take to make a datagrid heiarchical?

Don't you have to deliberatly set some properties or write code to make
a datagrid heiarchical?

My datagrid should be one level but it recently became heiarchical.
What is it that I could have done to unknowingly make my standard
datagrid heiarchical?
 
You are referring to a hierarchy of datagrids - multiple datagrids. I
am not talking about that. I am talking about the datagrid available
within VS.NET. It has the capability of displaying hierarchical data.

It displays within the row header little plus signs in front of each
populated data row. When you click that little plus the name of the
child form is displayed. If you click on that child table name the
converts to display the child table instead - and the table header
references the parent table.

Please read my question again. Why does my now behave as a hierarchical
datagrid? I did not configure it that way? My fill command only fills
one table not three. Yet I can drill down to the great grand child! Is
VS.Net supposed to load related tables on its own when the dataset has
relationships established in the dataset?
 
Please read my question again. Why does my now behave as a hierarchical
datagrid? I did not configure it that way? My fill command only fills
one table not three. Yet I can drill down to the great grand child! Is
VS.Net supposed to load related tables on its own when the dataset has
relationships established in the dataset?

I readed it, and you was asking about hierachical that means for me and I
assume for Ken as well, endless.

Have a look for master detail datagrids on MSDN there is a lot of
information on what you ask now. Basicly you need the datarelation for that
and it will go automaticly the only thing you have to do than is the
navigation and the collaps settings in the way you want them.

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

I hope this helps,

Cor
 

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

Similar Threads


Back
Top