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

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().