DataGrid

Discussion in 'ASP .Net Web Controls' started by voo, Mar 31, 2005.

  1. voo

    voo Guest

    I would like to group the rows of a datagrid so its value spans multiple rows.

    Data:

    A 1 12
    A 2 24
    A 3 11
    B 1 14
    B 2 12
    B 3 11

    I want to have A and B span 3 rows and display only once.

    How can I do this in OnItemBound

    Thanks.
     
    voo, Mar 31, 2005
    #1
    1. Advertisements

  2. I think what you mean is you are looking for Outlook style group-by-column
    functionality. I don't know if this is possible with the MS datagrid but it
    would be possible with some 3rd part controls - Telerik are just about to
    release a grid control with this functionality, as well as dynamic column
    re-sizing & re-ordering etc.

    Nick


    "voo" <> wrote in message
    news:...
    > I would like to group the rows of a datagrid so its value spans multiple

    rows.
    >
    > Data:
    >
    > A 1 12
    > A 2 24
    > A 3 11
    > B 1 14
    > B 2 12
    > B 3 11
    >
    > I want to have A and B span 3 rows and display only once.
    >
    > How can I do this in OnItemBound
    >
    > Thanks.
    >
     
    Nick Stansbury, Apr 5, 2005
    #2
    1. Advertisements

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. Dave
    Replies:
    0
    Views:
    613
  2. BK Kim

    datagrid in datagrid

    BK Kim, Feb 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    759
    Alvin Bruney [MVP]
    Mar 2, 2004
  3. Amar
    Replies:
    0
    Views:
    656
  4. matthew schouppe
    Replies:
    3
    Views:
    2,542
    Scott Allen
    Apr 30, 2004
  5. Patrick Delifer

    Updating Datagrid from outside datagrid

    Patrick Delifer, May 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    422
    Natty Gur
    May 4, 2004
  6. RSB
    Replies:
    2
    Views:
    1,371
  7. Martin Marinov
    Replies:
    2
    Views:
    5,703
  8. Andreas Klemt
    Replies:
    0
    Views:
    499
    Andreas Klemt
    Oct 8, 2003
Loading...