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

hierarchical data..TreeListView or TreeView or GridView ?

2 Answers 88 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Yonggu Kang
Top achievements
Rank 1
Iron
Yonggu Kang asked on 28 Feb 2011, 12:56 PM

Hi telerik team,

I'm totally confused what to use in the case when hierarchical object has many collection as a children.
The business object structure is as followings;

    - Task Collection
              - Task has fields
                      : TaskName , IsInitTask...etc
                      : Task Collectiion -> ( is type 'Task' and self referenced hierarchical)
                      : Department Collection ->(Flat collection).

    -  Department Collection : flat collection
              - Department  has fields
                       :  DeptName
                       :  DutyCollection ->(Flat collection).

     - DutyCollection : flat collection
               - Duty : has fields EmpleeName.

Task is self referenced hierarchical and each task has department collection which is flat collection, and department object has duty collection and so on.  Task object has many fields to be displayed and should be editable, so TreeView is not applicable, I think.
I'd like to use TreeListView,however,TreeListView looks lack of hierarchical template for each child collection like TreeView has
but only has one ChildTableDefinition.
Though In this thread, I found old TreeListView sample before moving the base into GridView , which has hieararchical structure
 something like above, but can't run in 2010 Q3 sp1.
Finally, I have no choice but to create heterogenious object which contains all task,department and duty with TreeListView.

Is there no way to handle this structure of objects with TreeListView  or other controls ? If so, any alternatives better than I did ?
I wish I missed important thing and you may lead me on right track or any thread regarded or sample project.

Thank you in advance.

RGDS
Kang

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 28 Feb 2011, 01:08 PM
Hi Yong-Gu Kang,

In short:

The current version of RadTreeListView can handle only one child collection property.
RadGridView can handle more than one( as in your case) . In case RadGridView fits your requirements  I think that is that would be the  way to go .

Sincerely,
Pavel Pavlov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Yonggu Kang
Top achievements
Rank 1
Iron
answered on 28 Feb 2011, 07:30 PM
Hi, Pavel Pavlov

Thank you for your quick reply.
I'd better to stick to my way to create heterogenious object.

RGDS
Kang
Tags
TreeListView
Asked by
Yonggu Kang
Top achievements
Rank 1
Iron
Answers by
Pavel Pavlov
Telerik team
Yonggu Kang
Top achievements
Rank 1
Iron
Share this question
or