Show certain levels of Tree View

2 posts, 0 answers
  1. Stefan
    Stefan avatar
    6 posts
    Member since:
    Feb 2009

    Posted 13 Nov 2009 Link to this post

    Hi ,

    is it possible to show certain levels of the tree view?
    I have a hierarchy with 7 levels and like to begin the display of this hierarchy dynamically on other levels than the first one.
    Or do I have to build the hierarchy different in the datasource?


    Thanks for your help.

    Kind regards

    Stefan
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 13 Nov 2009 Link to this post

    If you are binding the data to the TreeView through a datasource this will probably involve a lot of javascript to get the functionality. I would recommend that you read through the client-side API. What you could do would be to find the parent node that you are interested in finding, and then gather a collection of the child nodes of this node and add it to the new node that you want to show off the hierarchy of.

    You could also potentially re-create the hierarchy in your database (might be easier), but it all depends on where your preference in creating this behavior lies.
Back to Top