I have a treegrid with multiples nodes (and a single main node as the top of hierarchy). I want to be able to load the page and automatically make the grid go (expand up to) and select a specific node from its id.
How can I achieve that please? I can’t find any method like goSibling or expandandScrollTo specific node.
thank you for this very quick answer.
I checked the example. The line is correctly selected, BUT, when the nodes are all collapsed, they don’t expand automatically on selection change.
I want to select my node, expand the tree up to its level, and scroll the widget to ensure that the node is visible to user.
You could try to use $("#treeGrid").jqxTreeGrid('getRows'); method.
And will recieve array of items with information about this with members like leaf, level, parent and etc.
More details could find out in our API Documentation.