JavaScript/jQuery Gantt - headerFilter
Type:
The header filter allows users to filter values in an individual column. The header filter is a popup window that contains all unique values of a column. A click on the filter icon invokes the header filter.
Set the headerFilter.visible property to true to display filter icons for all columns. To hide the filter icon for an individual column, set the column’s allowHeaderFiltering property to false.
App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.light.css';
- import 'devexpress-gantt/dist/dx-gantt.css';
- import Gantt, {
- HeaderFilter,
- // ...
- } from 'devextreme-react/gantt';
- const App = () => {
- return (
- <Gantt ... >
- <HeaderFilter
- visible={true}
- width={280}
- height={350}
- searchTimeout={800} />
- {/* ... */}
- </Gantt>
- );
- };
- export default App;
See Also
search
Type:
App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.light.css';
- import Gantt, {
- HeaderFilter,
- Search,
- // ...
- } from 'devextreme-react/data-grid';
- const searchEditorOptions = {
- placeholder: 'Search value',
- mode: 'text'
- };
- export default function App() {
- return (
- <Gantt ... >
- <HeaderFilter ... >
- <Search
- editorOptions={searchEditorOptions}
- enabled={true}
- timeout={700}
- mode="equals"
- />
- </HeaderFilter>
- </Gantt>
- );
- }
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.