FilteringOptions
Setting model related to column filtering
Signature:
export interface FilteringOptionsRemarks
When setting it as an option in Grid, you only need to enter the necessary information.
Example
grid.setFilteringOptions({enabled: false});Properties
| Property | Type | Description |
|---|---|---|
| automating | FilterAutomatingOptions | Setting model for automatic filtering |
| clearFocusWhenFiltered | boolean | Whether to clear focus if no valid rows are found after filtering |
| commitBeforeFiltering | boolean | Whether to commit before filtering |
| enabled | boolean | Whether the filter box can be displayed by clicking the filter handle or indicator head |
| handleVisibility | HandleVisibility | How to display filter handles |
| includeParentItem | boolean | Whether to also display parent rows of data rows retrieved from TreeView |
| selector | FilterSelectorOptions | Set model for filter selection box |
| toast | ToastOptions | Toast-related settings |
Properties Desc
automating
Settings model for automatic filtering
Type - FilterAutomatingOptions
Remarks:
It follows the FilterAutomatingOptions model.
clearFocusWhenFiltered
Whether to remove focus if there are no valid rows after filtering
Type - boolean
commitBeforeFiltering
Whether to commit before filtering
Type - boolean
enabled
Whether the filter box can be displayed by clicking the filter handle or indicator head.
Type - boolean
handleVisibility
How filter handles are displayed
Type - HandleVisibility
includeParentItem
Whether to also display the parent row of the data row retrieved from the TreeView.
Type - boolean
selector
Settings model for filter selection box
Type - FilterSelectorOptions
Remarks:
It follows the FilterSelectorOptions model.
toast
Toast-related settings
Type - ToastOptions
Remarks:
It follows the ToastOptions model.