hierarchical data..TreeListView or TreeView or GridView ?

3 posts, 0 answers
  1. Yong Gu Kang
    Yong Gu Kang avatar
    103 posts
    Member since:
    Jan 2010

    Posted 28 Feb 2011 Link to this post

    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.

  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 28 Feb 2011 Link to this post

    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 .

    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!
  3. Yong Gu Kang
    Yong Gu Kang avatar
    103 posts
    Member since:
    Jan 2010

    Posted 28 Feb 2011 Link to this post

    Hi, Pavel Pavlov

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

Back to Top