Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeGrid (load on demand) expand a node on tree load

    Hi

    I have a tree having huge data. I have implemented load on demand. I want to expand a path when the tree first loads. For example I have to load a 4 levels deeps node root/fun/games/board games/chess, I know that I can use setSelectedPath but you know when I am doing load on demand this node is not present, how can I force it to expand fun and then expand games, then board games and then finally chess.

    I guess I will have to do some recursive expasion, but I am not sure how I can do this.

    Thanks
    Umme Essa

    #2
    Any luck with this? I'm also trying to programmatically expand a node (on selection), were you successful?

    Comment


      #3
      It sounds like you need load on demand behavior but that you have an initial subset of data that your application is already aware of that you want initially displayed (and expanded).
      If that's accurate, this can be achieved using the treeGrid.setInitialData() API.

      Comment

      Working...
      X