Hierarchical data in datagrid

Discussion in 'ASP .Net Datagrid Control' started by Nicolas Martinez, Oct 22, 2003.

  1. this topic was discussed a few days ago and this link came up
    http://msdn.microsoft.com/msdnmag/issues/03/10/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
     
    Nicolas Martinez, Oct 22, 2003
    #1
    1. Advertising

  2. Nicolas Martinez

    Oliver Guest

    Hi Nicolas,

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

    http://www.denisbauer.com/ASPNETControls/HierarGrid.aspx


    "Nicolas Martinez" <> wrote in message
    news:eWhh$...
    this topic was discussed a few days ago and this link came up
    http://msdn.microsoft.com/msdnmag/issues/03/10/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
     
    Oliver, Oct 23, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan C Douglas

    Edit Command in hierarchical datagrid ..

    Dan C Douglas, Aug 14, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    522
    Dan C Douglas
    Aug 14, 2003
  2. =?Utf-8?B?TWlrZQ==?=

    display hierarchical data in datagrid

    =?Utf-8?B?TWlrZQ==?=, Dec 7, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    1,194
    Nick Stansbury
    Dec 8, 2004
  3. Replies:
    1
    Views:
    948
  4. Dan C Douglas

    Edit Command in hierarchical datagrid ..

    Dan C Douglas, Aug 14, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    181
    Dan C Douglas
    Aug 14, 2003
  5. nicolas

    Hierarchical and recursive nested datagrid

    nicolas, Sep 29, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    192
    Nicolas Chevet
    Sep 30, 2003
Loading...

Share This Page