From ebaa5ba64a80f7294b8473f4e0e86990a624065f Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Fri, 14 Nov 2025 18:17:50 +0300 Subject: [PATCH] [add] what's new and grid docs' updates for v9.2.4 --- .../gridcolumn_header_property.md | 4 ++-- docs/grid/configuration.md | 14 +++++++++++++- docs/whatsnew.md | 12 ++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/grid/api/gridcolumn_properties/gridcolumn_header_property.md b/docs/grid/api/gridcolumn_properties/gridcolumn_header_property.md index f91ef348..07ff6a70 100644 --- a/docs/grid/api/gridcolumn_properties/gridcolumn_header_property.md +++ b/docs/grid/api/gridcolumn_properties/gridcolumn_header_property.md @@ -36,7 +36,7 @@ header: [ filter?: (item, input: string) => boolean, multiselection?: boolean, readonly?: boolean, - placeholder?: string, + placeholder?: string, // sets an input placeholder for `comboFilter` and `inputFilter` virtual?: boolean, // true by default template?: function }, @@ -79,7 +79,7 @@ Each header object may include: content(optional) additional content of a header, which can be one of the filters: "inputFilter" | "selectFilter" | "comboFilter" - filterConfig(optional) a configuration object for "comboFilter". It can contain a set of properties: + filterConfig(optional) a configuration object for "comboFilter" and "inputFilter"

a configuration object for "comboFilter" can contain a set of properties:
a configuration object for "inputFilter" can contain the following property: customFilter (optional) a custom function for extended filtering. It takes two parameters:and returns true/false to specify whether the data item should be displayed in the grid after filtering diff --git a/docs/grid/configuration.md b/docs/grid/configuration.md index a7c99057..c8e2170f 100644 --- a/docs/grid/configuration.md +++ b/docs/grid/configuration.md @@ -1386,6 +1386,18 @@ There are three types of filters that you can specify in the header/footer conte **Related sample**: [Grid. Header filters (comboFilter, inputFilter, selectFilter)](https://snippet.dhtmlx.com/4qz8ng3c) +If you specify **inputFilter** as the header or footer content of a column, you can set a configuration object for it via the `filterConfig` property. The configuration object may contain the **placeholder** property that sets a placeholder in the input: + +~~~jsx +{ + width: 160, id: "population", + header: [ + { text: "Population" }, + { content: "inputFilter", filterConfig: { placeholder: "Type something" } } + ] +} +~~~ + - **selectFilter** - allows end users to filter data of a column by choosing an option from a presented dropdown list ~~~jsx @@ -1412,7 +1424,7 @@ There are three types of filters that you can specify in the header/footer conte **Related sample**: [Grid. Header filters (comboFilter, inputFilter, selectFilter)](https://snippet.dhtmlx.com/4qz8ng3c) -If you specify **comboFilter** as the header or footer content of a column, you can set an additional config with properties for it. +If you specify **comboFilter** as the header or footer content of a column, you can set an additional config with properties for it via the `filterConfig` property: ~~~jsx {8} const grid = new dhx.Grid("grid_container", { diff --git a/docs/whatsnew.md b/docs/whatsnew.md index ee8c79fc..5e9f6901 100644 --- a/docs/whatsnew.md +++ b/docs/whatsnew.md @@ -8,6 +8,18 @@ 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.4 + +Released on November 17, 2025 + +### Fixes + +- Form. The `getValue()` method returns an empty string for a Combo option if its ID is specified as 0 (zero) +- Grid. `comboFilter` displays all the options even if its `filterConfig` configuration object is initialized without the `filter` property +- Grid. Incorrect date format in an exported Excel file +- Grid. The ability to [specify a placeholder in the `inputFilter` via the `filterConfig` configuration object](/grid/configuration/#headerfooter-filters) is added +- Tree. Incorrect dropping behavior when the `dropBehavior:sibling` property is set in the Tree configuration + ## Version 9.2.3 Released on October 21, 2025