Hi,
I'm making use of the expandPath function of the treeview, but is doesn't always call the complete function the first time, as if it doesn't do this if it takes to long or something. It works perfectly if I call the function twice but that shouldn't be the solution.
treeView.expandPath(arrPath);
treeView.expandPath(arrPath,
function
() {
var
getitem = treeView.dataSource.get(path);
var
selectitem = treeView.findByUid(getitem.uid);
treeView.select(selectitem);
treeView.trigger(
'select'
, { node: selectitem });
});
Am I missing something here what I should do different?