Add the parent index and the current node index to props
zetorby opened this issue · comments
Denis Mailychko commented
minop1205 commented
@zetorby
Even if parent index or current index is given to render, it may not be enough to obtain the expected prefix if the tree hierarchy is deep.
In any case, it is necessary to go back to the root node to get the index of each hierarchy, so please implement the logic in your application as shown in the example below.
Denis Mailychko commented
@minop1205 Thank you for your help