This is a migrated thread and some comments may be shown as answers.

Grouping on TreeList

3 Answers 68 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Shane Stiles
Top achievements
Rank 1
Shane Stiles asked on 08 Dec 2011, 08:12 PM
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?

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 09 Dec 2011, 02:53 PM
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
0
Shane Stiles
Top achievements
Rank 1
answered on 09 Dec 2011, 04:12 PM
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
0
Sebastian
Telerik team
answered on 09 Dec 2011, 05:04 PM
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
Tags
TreeList
Asked by
Shane Stiles
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Shane Stiles
Top achievements
Rank 1
Share this question
or