New to KendoReactStart a free 30-day trial

mapTreeItem

Function

Definition

Package:@progress/kendo-react-treelist

Creates a new array with the results of calling the provided callback function on the element which match the level in the provided data tree.

Parameters:treeany[]

The data tree.

levelnumber[]

An array of indexes of each parent and current item in the data tree.

subItemsFieldstring

The field which points to the subitems collection of each data item.

callback(value: any) => any

The callback function.

In this article
Definition
Not finding the help you need?
Contact Support