Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ header: [
multiselection?: boolean,
readonly?: boolean,
placeholder?: string,
virtual?: boolean,
virtual?: boolean, // true by default
template?: function
},
customFilter?: (item, input: string) => boolean,
Expand Down Expand Up @@ -79,7 +79,7 @@ Each header object may include:
<td><a href="../../../configuration/#headerfooter-filters"><b>content</b></a></td><td>(optional) additional content of a header, which can be one of the filters: "inputFilter" | "selectFilter" | "comboFilter"</td>
</tr>
<tr>
<td><a href="../../../configuration/#headerfooter-filters"><b>filterConfig</b></a></td><td>(optional) a configuration object for <b>"comboFilter"</b>. It can contain a set of properties:<ul><li><b>filter</b> - (optional) sets a custom function for filtering Combo Box options</li><li><b>multiselection</b> - (optional) enables selection of multiple options</li><li><b>readonly</b> - (optional) makes ComboBox readonly (it is only possible to select options from the list, without entering words in the input). The default value of the <b>readonly</b> property depends on the following conditions:<ul><li>the `readonly:true` is set as a default value, if `htmlEnable:true` is set for a column and there is no template specified for a column</li><li>in all other cases, `readonly:false` is set by default</li></ul></li><li><b>placeholder</b> - (optional) sets a placeholder in the input of ComboBox</li><li><b>virtual</b> - (optional) enables dynamic loading of data on scrolling the list of options</li><li><b>template</b> - (optional) a function which returns a template with content for the filter options. Takes an option item as a parameter:<ul><li><b>item</b> - (object) an option item</li></ul></li></ul></td>
<td><a href="../../../configuration/#headerfooter-filters"><b>filterConfig</b></a></td><td>(optional) a configuration object for <b>"comboFilter"</b>. It can contain a set of properties:<ul><li><b>filter</b> - (optional) sets a custom function for filtering Combo Box options</li><li><b>multiselection</b> - (optional) enables selection of multiple options</li><li><b>readonly</b> - (optional) makes ComboBox readonly (it is only possible to select options from the list, without entering words in the input). The default value of the <b>readonly</b> property depends on the following conditions:<ul><li>the `readonly:true` is set as a default value, if `htmlEnable:true` is set for a column and there is no template specified for a column</li><li>in all other cases, `readonly:false` is set by default</li></ul></li><li><b>placeholder</b> - (optional) sets a placeholder in the input of ComboBox</li><li><b>virtual</b> - (optional) enables dynamic loading of data on scrolling the list of options, <i>true</i> by default</li><li><b>template</b> - (optional) a function which returns a template with content for the filter options. Takes an option item as a parameter:<ul><li><b>item</b> - (object) an option item</li></ul></li></ul></td>
</tr>
<tr>
<td><a href="../../../configuration/#customizing-headerfooter-filters"><b>customFilter</b></a> </td><td>(optional) a custom function for extended filtering. It takes two parameters:<ul><li><b>item</b> - (required) a data item the value of which should be compared</li><li> <b>input</b> - (required) the value of the option selected in the filter</li></ul>and returns <i>true/false</i> to specify whether the data item should be displayed in the grid after filtering</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/grid/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ const grid = new dhx.Grid("grid_container", {
- the `readonly:true` is set as a default value, if `htmlEnable:true` is set for a column and there is no template specified for a column
- in all other cases, `readonly:false` is set by default
- **placeholder** - (*string*) sets a placeholder in the input of ComboBox
- **virtual** - (*boolean*) enables dynamic loading of data on scrolling the list of options
- **virtual** - (*boolean*) enables dynamic loading of data on scrolling the list of options, *true* by default
- **template** - (*function*) a function which returns a template with content for the filter options. Takes an option item as a parameter

#### Customizing header/footer filters
Expand Down
9 changes: 9 additions & 0 deletions docs/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ description: You can explore what's new in DHTMLX Suite and its release history

Before updating DHTMLX to the latest version, please check the [Migration to Newer Versions](migration.md) guide to avoid possible breakdowns.

## Version 9.2.3

Released on October 21, 2025

### Fixes

- Grid. Performance issues caused by using `comboFilter` in the Grid header while a large dataset is loaded
- Grid. The issue with the "combobox" editor not closing on pressing the "Enter" button

## Version 9.2.2

Released on October 1, 2025
Expand Down
Loading