pathto itself, starting from the root of the tree. The node path is a string that uniquely identifies a node from
<TreeView />uses node paths and indexes nodes based on their path:
pathPropertyprop - if this is specified, the node path is built by joining together all values of
curentNode[pathProperty]starting from the root to the targeted node. Those values are joined together using the value specified by
idProperty- if this is specified, the node path is just the value of
node[idProperty]property, as it already uniquely identifies the node.
idPropertyare specified, the path of a node is built by joining the indexes of all parent nodes from root to the targeted node (the indexes are joined using the
pathSeparatorprop value). So for the third child of the first
dataSourceitem, the path would be
"0/2". For the second child of this node, the path would be
<TreeView />behave in unexpected ways.
<TreeView />- for example, when you want to specify some nodes to be rendered as collapsed by default.