New to Kendo UI for Vue? Start a free 30-day trial
treeToFlat
Creates a flat data array from the passed tree dataset.
Parameters
data
any[]
expandField
string
The field which points to the expanded value of each data item.
subItemsField
string
The field which points to the subitems collection of each data item.
Returns
any[]
- A collection of the generated data items that are in a flat structure.