Grouping on TreeList

4 posts, 0 answers
  1. Shane Stiles
    Shane Stiles avatar
    8 posts
    Member since:
    Feb 2006

    Posted 08 Dec 2011 Link to this post

    Is there any way to have a grouping functionality on the TreeList Control?
    Do you plan to add grouping in next release?
    Or how can i go around it?
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Dec 2011 Link to this post

    Hello Shane,

    Presently we do not have plans to introduce grouping feature for our AJAX TreeList control. We will peg the interest in this functionality in this forum thread and based on it, we might contemplate it for a future release.

    Currently I cannot think of a possible workaround to support grouping other than implementing self-referencing hierarchy with RadGrid and enabling grouping for it.

    Regards,
    Sebastian
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shane Stiles
    Shane Stiles avatar
    8 posts
    Member since:
    Feb 2006

    Posted 09 Dec 2011 Link to this post

    Hello Sebastian,
    Thanks for your answer.
    I tried the  self-referencing hierarchy with RadGrid, and I realized the CreateExpandCollapseButton method also appends the button to the grouping headers, so I need some guidance on modifying the HideExpandColumnRecursive method to make it hide the created button for the grouping headers.
    Thanks
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Dec 2011 Link to this post

    Hello Shane,

    For this purpose on the following line of the HideExpandColumnRecursive method:

    Button MyExpandCollapseButton = (Button)nestedView.ParentItem.FindControl("MyExpandCollapseButton");

    you will need to check whether the nestedView.ParentItem instance is of type GridGroupHeaderItem and hide the expand button, if so.

    I hope this information helps.

    Kind regards,
    Sebastian
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top