removeItems
Function
Definition
Package:@progress/kendo-react-data-tools
Removes the items from the passed data which match the passed condition.
Parameters:dataany[]
The data tree.
subItemsFieldstringThe field which points to the subitems collection of each data item.
condition(item: any) => booleanA function that will be executed for each data item in the tree data and the items for which returns true will be removed.
Returns:any[]
- The new data tree.