So basically when you load a treeview with a data source with the config expandToDepth it does not reset the expanded tree structure before being applied. So if you were using existing data for a treeview and trees are already expanded more depth will be shown then desired. The entire tree should be collapsed before the expand is applied to be consistent, or at least allow this as an option.
So basically when you load a treeview with a data source with the config expandToDepth it does not reset the expanded tree structure before being applied. So if you were using existing data for a treeview and trees are already expanded more depth will be shown then desired. The entire tree should be collapsed before the expand is applied to be consistent, or at least allow this as an option.