Announcement

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

    How to load a node's children without opening it ?

    Hi,

    In my application, when the user selects a node in a tree I need to get its children to process it.

    So far, the only way I see to load the children is Tree.openFolder() but it opens the node in the UI.

    Is there a way to load the children in the model without forcing the UI to open the folder ?

    Thanks in advance,
    Juan

    #2
    We have an enhancement planned to expose the loadChildren() API with a callback, but for now, you can either open the folder and close it when the data is loaded, or you can load the children by a separate call directly to DataSource.fetchData().

    Comment

    Working...
    X