DataFilter

filter one property in data

Default filter types

For details, see Data default filter types.

Props

options

The set of possible values for the property. Should not be used with 'range'.

array of strings
['US', 'NZ']
array of objects
[
  { label: 'United States', value: 'US' },
  { label: 'New Zealand', value: 'NZ' },
]

property

The property to filter.

string
"name"

range

The range of numeric values. Should not be used with 'options'. If not specified, the default step will be calculated as (max - min) / 20.

object
{ min: 1, max: 100, step: 5 }