Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Hierarchical data in datagrid

Reply
Thread Tools

Hierarchical data in datagrid

 
 
Nicolas Martinez
Guest
Posts: n/a
 
      10-22-2003
this topic was discussed a few days ago and this link came up
http://msdn.microsoft.com/msdnmag/is...0/CuttingEdge/

but im trying to go further:

i'm designing a sort of database explorer where you can choose from a set of
parameters
what info you see, and the levels in the hierarchy i want to display could
vary dinamically.
This is a problem since i don't know how to nest a dynamic number of grids.
Then again, i canīt tell if i should use datagrids or datalists.
To round up: i want to display a variable number of hierarchy levels in a
grid-like fashion,
with expand and collapse buttons to show disagreggated data, like this:

-------------------------------------------------
name orders sales
-------------------------------------------------
(-) clientA 2 100
-------------------------------------------------
ordNo. sales
1 75 (expanded)
2 25
-------------------------------------------------
(+) client B 3 125
-------------------------------------------------
(+) client C 1 105
-------------------------------------------------

Can anyone help me out with this? What objects shoud i use?
Can i nest them? Can i vary the number of nested objects?

Nicolas


 
Reply With Quote
 
 
 
 
Oliver
Guest
Posts: n/a
 
      10-23-2003
Hi Nicolas,

You might want to look at the free Hiergrid control that does the
expand/collapse thing:

http://www.denisbauer.com/ASPNETCont...ierarGrid.aspx


"Nicolas Martinez" <(E-Mail Removed)> wrote in message
news:eWhh$(E-Mail Removed)...
this topic was discussed a few days ago and this link came up
http://msdn.microsoft.com/msdnmag/is...0/CuttingEdge/

but im trying to go further:

i'm designing a sort of database explorer where you can choose from a set of
parameters
what info you see, and the levels in the hierarchy i want to display could
vary dinamically.
This is a problem since i don't know how to nest a dynamic number of grids.
Then again, i canīt tell if i should use datagrids or datalists.
To round up: i want to display a variable number of hierarchy levels in a
grid-like fashion,
with expand and collapse buttons to show disagreggated data, like this:

-------------------------------------------------
name orders sales
-------------------------------------------------
(-) clientA 2 100
-------------------------------------------------
ordNo. sales
1 75 (expanded)
2 25
-------------------------------------------------
(+) client B 3 125
-------------------------------------------------
(+) client C 1 105
-------------------------------------------------

Can anyone help me out with this? What objects shoud i use?
Can i nest them? Can i vary the number of nested objects?

Nicolas



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hierarchical DataList/DataGrid nicksertis@gmail.com ASP .Net 1 04-12-2006 09:09 AM
display hierarchical data in datagrid =?Utf-8?B?TWlrZQ==?= ASP .Net 4 12-08-2004 04:42 PM
Hierarchical and recursive nested datagrid nicolas ASP .Net Datagrid Control 2 09-30-2003 09:09 AM
Edit Command in hierarchical datagrid .. Dan C Douglas ASP .Net Datagrid Control 0 08-14-2003 03:52 PM
Edit Command in hierarchical datagrid .. Dan C Douglas ASP .Net 0 08-14-2003 03:52 PM



Advertisments