removeItems
Function
Definition
Package:@progress/kendo-vue-treelist
Removes the items from the passed data which match the passed condition.
Parameters:dataany
The data tree.
subItemsFieldanyThe field which points to the subitems collection of each data item.
conditionanyA 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.