I need to expand specific branches in a tree component, while keeping their children closed.
My tree does not have the root node shown. So if you take the root node as 0, I wish to expand nodes 1 while keeping nodes 2 (children) closed/collapsed. How can I do this please?