Welcome to the Xceed Community | Help
Community Search  
More Search Options

Hierarchical Data Grid with the Same Columns

Sort Posts: Previous Next
  •  07-13-2011, 11:58 AM Post no. 30718

    Hierarchical Data Grid with the Same Columns

    Hi,

    I wan't to create a grid with grouping where the grouping row appears with the same columns as the child rows. One example might be the grouped row would contain the aggregate or sum of the columns in the child rows.

    Is this possible with Xceed?

    Thank you,

    Mike 

  •  07-13-2011, 6:43 PM Post no. 30720 in reply to 30718

    Re: Hierarchical Data Grid with the Same Columns

    Hi Mike,

    You can add a StatRow in the GroupHeaderControl to contain the statistical functions that you want. You can refer to the following which will show you how to add a StatRow to the GroupHeaderControl: http://xceed.com/CS/files/folders/jenny/entry26021.aspx


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
  •  07-13-2011, 9:01 PM Post no. 30721 in reply to 30720

    Re: Hierarchical Data Grid with the Same Columns

    I have trouble building that sample - probably because I have a new version of Xceed.

    Actually, my question has less to do with how to make a row that contains stats, and more to do with how to make a group by row that has the exact same columns as the child rows. When I re-size a column, I want it to change the size of both the group by cells and the child cells.

    This post has an image that depicts what I'm trying to achieve. http://stackoverflow.com/questions/4844296/tree-ish-grid-hierarchical-grid-in-wpf. Note that the grid in this post has more than 2 levels deep, I only need 2 levels.

  •  07-14-2011, 10:49 AM Post no. 30728 in reply to 30721

    Re: Hierarchical Data Grid with the Same Columns

    After doing some more research, this question boils down to:

    How do I display a row of data in the GroupConfiguration.Headers collection that has the same columns as the rest of the grid and adheres to sorting, filtering and sizing of the headers. This row may be a "StatRow" but I would be happier with a DataRow that I can bind to whatever data I like.

    Thanks,
    Mike 

  •  07-14-2011, 11:00 AM Post no. 30729 in reply to 30728

    Re: Hierarchical Data Grid with the Same Columns

    Hi Mike,

    I am trying to build the sample application for you. Can you email your license key that you are using to support@xceed.com so I can investigate further? Please do not share your license key on the forums.


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
  •  07-02-2012, 9:51 AM Post no. 32326 in reply to 30729

    Re: Hierarchical Data Grid with the Same Columns

    Hi Marc,

    Did you try on this sample? If so, can you please provide me that sample. It would be a great help in completing my task.

    Thanks and Regards,

    Sudhakar S.

  •  07-03-2012, 11:31 AM Post no. 32333 in reply to 32326

    Re: Hierarchical Data Grid with the Same Columns

    Hi Sudhakar,

    Unfortunately, no sample was ever made (I looked up the email conversation and in the end the original client did not need one).


    Custom samples are not included in the support subscription, so if you would like us to make a custom sample for your specific needs, you will need to submit a custom development request to the Sales team. They can be reached by email at sales@xceed.com or by phone at 1-800-865-2626 or 450-442-2626.
    Fawzi Bablli
    Developer Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.