TreeList for Non Self referencing data

2 posts, 0 answers
  1. Usman Khalid
    Usman Khalid avatar
    6 posts
    Member since:
    Jan 2010

    Posted 04 Dec 2012 Link to this post

    Hi people,
    in the demo of TreeList it is written that "Its hybrid structure empowers you with the ability to visualize self-referencing data in a hierarchical view defining primary/foreign key relations and using identical objects for source."
    I want to know if this control support non-self referencing data? Like

    Code                 Chapter                Subchapter
    ----------------------------------------------------------
    123456                12                          1234
    456789                45                          4567
    345678                34                          3456
    124389                12                          1243

    Here Chapter is the parent of subchapter.

    12
         -1234
         -1243
    45
         - 4567
    34
        - 3456

    Tell me can this control work for me?
  2. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 07 Dec 2012 Link to this post

    Hello Usman,

    The whole idea behind RadTreeList is to bind only to self-referencing data. In order to achieve your scenario you could either add additional field to your data source so you could simulate self-referencing data or use our RadGrid could and use the hierarchy functionality and the DetailTableDataBind event as shown in the help article below.

    Regards,
    Antonio Stoilkov
    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
Back to Top