Skip to content

Commit

Permalink
DataGrid: add info about (Blanks) in headerFilter (DevExpress#7100)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaskorohodova committed Mar 3, 2025
1 parent 902a7b1 commit 94d8625
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ To make header filter icons visible, assign **true** to the **headerFilter**.[vi

A header filter's popup menu lists all column values. If they are numbers or dates, you can group them using the [groupInterval](/api-reference/_hidden/GridBaseColumn/headerFilter/groupInterval.md '{basewidgetpath}/Configuration/columns/headerFilter/#groupInterval') property in the column's [headerFilter](/api-reference/_hidden/GridBaseColumn/headerFilter '{basewidgetpath}/Configuration/columns/headerFilter/'). You can also provide a custom data source for a header filter using the [dataSource](/api-reference/_hidden/GridBaseColumn/headerFilter/dataSource.md '{basewidgetpath}/Configuration/columns/headerFilter/#dataSource') property.

[note] If a column has empty cells (`null` or `''`), the header filter popup menu displays a `(Blanks)` item.

#include datagrid-filtering-selectallmodifiesfiltertype with {
filterValuesLink: "{basewidgetpath}/Configuration/columns/#filterValues",
filterTypeLink: "{basewidgetpath}/Configuration/columns/#filterType"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ A user can change the applied filter by including or excluding values. Use a col

#include datagrid-filtering-rowandheaderconflicts

You can use the **headerFilter.**[allowSearch](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/headerFilter/allowSearch.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/headerFilter/#allowSearch') property to enable searching in the header filter. You can also declare this property in a column's configuration object to enable/disable searching in this column's header filter.
You can use the **headerFilter.search.**[enabled](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/headerFilter/search/#enabled) property to enable searching in the header filter. You can also declare this property in a column's configuration object to enable/disable searching in this column's header filter.

---
##### jQuery
Expand Down Expand Up @@ -388,7 +388,9 @@ You can use the **headerFilter.**[allowSearch](/api-reference/10%20UI%20Componen

---

A header filter's popup menu lists all column values by default. You can group them using the **headerFilter**.[groupInterval](/api-reference/_hidden/GridBaseColumn/headerFilter/groupInterval.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/headerFilter/#groupInterval') property if they are numbers or dates. You can also provide a custom data source for a header filter using the [dataSource](/api-reference/_hidden/GridBaseColumn/headerFilter/dataSource.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/headerFilter/#dataSource') property. Refer to the property's description for details.
A header filter's popup menu initially lists all column values. You can group them using the **headerFilter**.[groupInterval](/api-reference/_hidden/GridBaseColumn/headerFilter/groupInterval.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/headerFilter/#groupInterval') property if they are numbers or dates. You can also supply a custom data source for a header filter using the [dataSource](/api-reference/_hidden/GridBaseColumn/headerFilter/dataSource.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/headerFilter/#dataSource') property. Refer to the property's description for details.

[note] If a column has empty cells (`null` or `''`), the header filter popup menu displays a `(Blanks)` item.

#####See Also#####
- [Filtering API - Initial and Runtime Filtering](/concepts/05%20UI%20Components/DataGrid/30%20Filtering%20and%20Searching/6%20API/1%20Initial%20and%20Runtime%20Filtering.md '/Documentation/Guide/UI_Components/DataGrid/Filtering_and_Searching/#API/Initial_and_Runtime_Filtering')
Expand Down

0 comments on commit 94d8625

Please sign in to comment.