Aliaksei Makhankou
Aliaksei Makhankou
Hi @nichita-pasecinic, you can check [issue](https://github.com/alekseymakhankov/hyper-tree/issues/17#issuecomment-1272611005)
> Can you add index to DefaultNodeProps? @brightsider What do you mean? What should it be? Global index through the tree or local index in children?
@richjava Hi! You can overwrite the node renderer by `renderNode` and do smth like ```typescript export const CustomNode = ({ node, // default prop (what you need) onSelect, // default...
@chezdesign Hi! Try `handlers.setOpen(lastNodeId)`
Hi, try `rootNode.setOpened(false)` or use `treeHandlers.trees[your-tree-id].handlers.setOpen(...)`