What's new
Before updating DHTMLX to the latest version, please check the Migration to Newer Versions guide to avoid possible breakdowns.
Version 9.0.3
Released on January 13, 2025
Fixes
- Chart. Chart bars aren't displayed if the series have the same value
- Chart. A stacked bar isn't rendered if a data object for some series doesn't contain a value
- Grid. Sorting the header "selectFilter"/"comboFilter" options with numeric data in the "number" column type
- Grid. Dragging a child item to the parent item in the TreeGrid mode
Version 9.0.2
Released on December 23, 2024
Fixes
- Grid. The
input
editor doesn't work whenselection:"row"
is specified - Grid.
autoEmptyRow
creates an additional empty row on loading external data
Version 9.0.1
Released on December 10, 2024
Fixes
- Core. The issue with the local trial package during import to frameworks
- DataCollection. Adding multiple elements at index -1 will distribute the elements throughout the collection
- DataCollection. The
find()
/findAll()
method miss theindex
andarray
arguments, when the parameter is set as a function - DataCollection. The
add()
method mutates the added object - DataCollection. Data preparation in the config is removed (old realization)
- DataCollection. After parsing the grouped data, the old data is displayed
- Form. The issue with the destruction of items in Optimus
- Grid. Multiselection. Reselection of the first selected row doesn't work
- Grid. The export module typization is added
- Grid. The use of
footerAutoHeight
withsummary
causes an error - Message. Incorrect text wrapping
- Tree. Selection isn't applied after dragging an item to another Tree
- TreeCollection. The
smartSorting
property is missed in the configuration of thesort()
method - TreeCollection. The
filter()
method allows specifying an invalid configuration - TreeCollection. The
move()
method calculates the movements incorrectly when moving an array of elements - TreeCollection. The
move()
method doesn't allow being called without additional arguments - TreeCollection. The ability to create a non-existent parent
Version 9.0
Released on November 25, 2024
Review of the release on the blogBreaking changes
In this version TreeGrid becomes a part of Grid. Check the Migration guide to keep in step with the latest updates.
New functionality
Common features
- The new helper method
dhx.methods
to define the default data calculation functions used by the library and redefine them to create custom functions
DataCollection
- The ability to group data items, aggregate data in a group, adjust the order and configuration of data grouping, render statistics in the summary rows
- new methods:
group()
,ungroup()
,isGrouped()
- new events:
beforeGroup
,afterGroup
,beforeUnGroup
,afterUnGroup
- new methods:
Form
- The ability to specify patternMask/numberMask for the Input and Textarea controls
- The new
getText()
method for getting the text value of an input - The new
getText()
method for getting the text value of a textarea
Grid
- The TreeGrid mode for Grid (PRO version)
- Row data grouping (PRO version) with the ability to aggregate data in a group, adjust the appearance, order and configuration of data grouping, render statistics in the summary rows
- new Grid properties:
group
,groupable
,closable
- new column properties:
groupable
,closable
- new events:
groupPanelItemClick
,groupPanelItemMouseDown
- new Grid properties:
- The ability to render custom statistics in the header/footer of columns and Grid spans
- the
text
andtooltipTemplate
properties of a column and of the Gridspans
configuration object can be set as callback functions to render calculated summary values - new Grid property:
summary
- new method:
getSummary()
- new column property:
summary
- the
- The ability to specify patternMask/numberMask for columns
- Localization for Grid labels is added
Updates
Grid
- The
asDateObject
property is added for theeditorConfig
object of the DatePicker column editor to provide the ability to work with a Date object as with a string - The
cell
parameter is added for the callback function of the following events:headerCellClick
,footerCellClick
,headerCellMouseOver
,footerCellMouseOver
,headerCellMouseDown
,footerCellMouseDown
,headerCellDblClick
,footerCellDblClick
,headerCellRightClick
,footerCellRightClick
Ctrl+Enter
shortcut for expanding/collapsing the parent item in the TreeGrid mode
Fixes
- Grid. Rows layout break when the minimum column width is reached with more than one parent (
type: tree
) - Grid. The TypeScript types issue of the constructor object
- Grid. The unrecognized format error that occurs when working with a Date object in string representation
New samples
- Grid. Grouping (PRO)
- Grid. Grouping customization (PRO)
- Grid. Grouping aggregated data via data collection (PRO)
- Grid. Grouping missing data (PRO)
- Grid. Grouping and totals in the summary row (PRO)
- Grid. Grouping and totals in group headers (PRO)
- Grid. Grouping and totals in group headers via data collection (PRO)
- Grid. Grouping and totals in the summary row via data collection (PRO)
- Grid. Custom totals for footer and columns
- Grid. Custom totals for footer and columns with dynamic updates on edit
- Grid. Pattern and number masks
- Form. Number mask
- Form. Pattern mask
Version 8.4.6
Released on October 15, 2024
Fixes
- Grid. The issue with opening the Combobox column editor without options
Version 8.4.4
Released on September 16, 2024
Fixes
- Grid. Data is not displayed in the non-PRO version
Version 8.4.3
Released on September 10, 2024
Fixes
- Grid/TreeGrid. Incorrect span editing
- Grid/TreeGrid. The callback of the
dragRowIn
event is called with the source id instead of the target id - Grid/TreeGrid. Incorrect rendering of header/footer spans
- Grid/TreeGrid. Canceling editing of a cell in the enabled
autoHeight
mode doesn't revert the value of a cell to the initial state - Grid/TreeGrid. The
beforeColumnDrop
event fires after dragging rows - Grid/TreeGrid. The
height
property set as a string breaks rendering of the component
Version 8.4.2
Released on August 29, 2024
Fixes
- Core. Destruction of Layout in the Optimus framework causes an error
- Form. A number input with the predefined minimal value fails validation in case the input is empty
- Grid/TreeGrid. Incorrect work of the
comboFilter
input in case entering of HTML content is enabled - Grid/TreeGrid. Input of a number starting with a decimal point
- Grid/TreeGrid. The use of
autoHeight
andautoEmptyRow
configs prevents appearing of a new empty row - Grid/TreeGrid. The
adjust:data
config is applied incorrectly during drag-n-drop - Grid/TreeGrid. The
adjust
config of the component takes priority over theadjust
config of a column - Grid/TreeGrid. Parsing data with the
footerAutoHeight: true
config causes a console error - Grid/TreeGrid. Dragging adjacent cells from the same column changes their positions relative to each other
- Layout. Issue with cells resizing
- Tree. The intermediate state of three-state checkboxes isn't displayed when a dataset is specified in the Tree configuration