New to Kendo UI for Vue? Start a free 30-day trial
getItemPath
Returns the data item path in the tree based on the level parameter.
Parameters
tree
any[]
The data tree.
level
number[]
The level of the target tree item.
subItemsField?
string
The field which points to the subitems collection of each data item.
Returns
any[]
- The path of the data item.