Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

In my application I have multiple related tables in a datagrid. When i click on a row node to expand and view child rows, the datagrid by default provides a link to another datagrid in which the child rows are displayed.

 

Is it possible to view the child rows in the same datagrid? I want to be able to expand a row to view its child rows while pushing the other rows down the datagrid. Sort of in the way that tasks are handled in Microsoft Project.

 

Would be much appreciated if anyone has any info on this.

  • Leaders
Posted
I don't *think* you can with the microsoft grid. You'll probably have to go to a third-party grid control for that. I'm using Infragistics UltraWinGrid which supports it.
--tim
  • *Experts*
Posted

quwiltw is right, the basic .NET DataGrid does not support it. I thought I heard of a company that wrote a new version of the .NET DataGrid (all in .NET code) that allowed this, but I don't remember the company or the link.

 

I think your best bet might be to go with a 3rd party control. If you want to use two separate grids (or just stick with the basic DataGrid), check out this superb FAQ.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...