Similar to sorting columns in a Grid, you can update the Grid content by applying a filter. By applying a filter on the column, users will be able to search relevant data in the Grid that matches some criteria.
To make the columns in the Grid filterable, set the configuration option, filterable
, to true
, as shown in the following line of code. Similar to the sortable
option, all columns in the Grid will be available for filtering by default. If you want some of the columns to not be available for filtering, then set filterable
as false
under columns.
filterable: true
When you mark the columns for filtering, you will see a filter icon for each of the columns in the Grid.
When you click on it, you will be presented with a set of options that will allow you to get filtered data.
By default, users will be presented with two conditions to enter in the search criteria. In this example, the user has selected...