I am trying to programmatically open first node in the treegrid after having all nodes collapsed.
Here is my code.
In directive as the last line in Link finction:
scope.assetTree = $(elem);
In controller when data has been received:
$scope.assetTree.treegrid('expand', 1);
Nothing happens, the first node is not expended.
Please help.
Thanks