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

Group in Tree view

6 Answers 361 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Huzaifa
Top achievements
Rank 1
Huzaifa asked on 01 May 2010, 07:51 AM
I want to bind custom list of object to Tree view. Also want group the elements on some properties. Is there any way to add/create group in Treeview ?

for Example: 
i have List of class C1 that has Books, Authors, Title. I want to group the item first by Books, then Authors and then title, so Authors should be child of books and title should be child of Authors.

Please reply me.

regards,
Huzaifa

6 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 05 May 2010, 08:35 PM
Hi Huzaifa,

Thank you for writing.

RadTreeView does not support grouping. Actually, we are not sure that we have seem such an implementation in a treeview. Have you used such a product before? If yes, could you share your experience with it?

We can nevertheless suggest to use RadGridView's hierarchy feature for this. Then you can group your objects on each level of the hierarchy.

Regards,
Victor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Huzaifa
Top achievements
Rank 1
answered on 06 May 2010, 05:57 PM
HI,

Actually, i didn't find this in any control. Beside, I created my own custom Tree Control with Data binding. Actually my need was to group the object on specified fields, without multiple list and define relationship manually. 

Let me know, if you want any more info. Also, I think it would be good feature if you can provide this in future release.

regards,
Huzaifa
0
Victor
Telerik team
answered on 10 May 2010, 04:11 PM
Hi Huzaifa,

Thank you for the valuable feedback.

This is indeed a nice feature for RadTreeView, we will consider implementing it in a future release.

Kind regards,
Victor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ryan
Top achievements
Rank 1
answered on 15 Nov 2011, 05:08 PM
Has this new feature been implemented?  This is an example of what I'm trying to do.  If I have a celebrity class and in the celebrity class I have child lists Movies, Albums.  My business object celebrity contains 2 lists, Movies and Albums.  I want to bind to those and allow the user to add remove edit celebrities, movies and albums.  From what I can see, the RadTreeView only supports having one child per node.

Using the RadGridView maybe my only option if it works there.
0
Scott
Top achievements
Rank 1
answered on 07 Apr 2020, 05:12 PM

I was just looking for this same thing.  Has this been implemented?

Thank you,

Scott

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 08 Apr 2020, 04:41 AM

Hi , Scott,

Thank you for writing.

Your scenario is achievable in RadTreeView by using the 
Load on demand feature, where you will populate the tree manually. Thus, you can define the group nodes that you need by adding the desired groups.

You can also consider using a RadGridView, there you can use the Object Relational Binding functionality to display your hierarchical data. RadGridView supports grouping out-of-the-box.

I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Treeview
Asked by
Huzaifa
Top achievements
Rank 1
Answers by
Victor
Telerik team
Huzaifa
Top achievements
Rank 1
Ryan
Top achievements
Rank 1
Scott
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or