New to KendoReactStart a free 30-day trial

treeToFlat

Function

Definition

Package:@progress/kendo-react-data-tools

Creates a flat data array from the passed tree dataset.

Parameters:dataany[]expandFieldstring

The field which points to the expanded value of each data item.

subItemsFieldstring

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.
In this article
Definition
Not finding the help you need?
Contact Support