Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

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?