React PivotGridFieldChooser - headerFilter
A header filter allows a user to filter individual field's values by including or excluding them from the applied filter. Cicking a header filter icon invokes a popup menu displaying all the unique field values.
Assign true to the allowFiltering property to make the icons visible.
The user's filtering preferences are saved in the filterValues property. The header filter's Select All checkbox changes the filterType property.
search
- import React from 'react';
- import 'devextreme/dist/css/dx.light.css';
- import PivotGridFieldChooser, {
- HeaderFilter,
- Search,
- // ...
- } from 'devextreme-react/data-grid';
- const searchEditorOptions = {
- placeholder: 'Search value',
- mode: 'text'
- };
- export default function App() {
- return (
- <PivotGridFieldChooser ... >
- <HeaderFilter ... >
- <Search
- editorOptions={searchEditorOptions}
- enabled={true}
- timeout={700}
- mode="equals"
- />
- </HeaderFilter>
- </PivotGridFieldChooser>
- );
- }
searchTimeout
Use search.timeout instead.
Specifies a delay in milliseconds between when a user finishes typing in the header filter's search panel, and when the search is executed.
If you have technical questions, please create a support ticket in the DevExpress Support Center.