I have problems with the callback-function of the expandPath-function.
Is it possible that this callback-function is not executed, when the path-Array (first parameter of the expandPath-function) is ?
What i am trying to implement is when a new child-item is created then the parent-item should be reloaded and after that the new child-item should be selected.
This works fine, only when this new item is child of the root-item (with id 0) the callback-function, which selects the item, is not executed.
parentItem = wpTreeView.dataSource.get(parentId);
newItem = wpTreeView.dataSource.get(data.Id);
newListItem = wpTreeView.findByUid(newItem.uid);
Can someone give me some advice?