Does fancytree have an event that indicates it has completely loaded the data in the tree?

2.6k Views Asked by At

I want to know if in any way figure out that fancytree is completely finished loading data and the component is fully loaded so i can change its options. Currently I am trying to change selectMode (from 3 to 2 for example) but when I do so data will not be fully loaded and checked. It looks like I am changing selectMode before data is fully loaded. Thanks in advance

1

There are 1 best solutions below

1
On BEST ANSWER

You could use the init event, or loadChildren for example. See the tutorial or the list of available events for details. (Note however, that changing the selectMode will not (un)check any existing nodes.)