filterBy

Filters the provided data tree according to the specified Array<FilterDescriptor|CompositeFilterDescriptor>.

Parameters

data

any[]

The data that will be filtered.

descriptors

FilterDescriptor[] | CompositeFilterDescriptor[]

The filter criteria that will be applied.

subItemsField

string

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

Returns

any[]

  • The filtered data.

In this article

Not finding the help you need?