arvind
arvind

Reputation: 189

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

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

Upvotes: 3

Views: 2893

Answers (1)

mar10
mar10

Reputation: 14794

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

Upvotes: 2

Related Questions