Skip to content

Changelog 19.x

These are the release notes for Handsontable 19.x.

19.0.0

Released on November 26th, 2026

For more information about this release, see:

Added

  • Breaking change: Added treegrid accessibility to the NestedRows plugin: tree attributes on rows, Ctrl/Cmd+arrow keys on a row header to expand, collapse, or move to the parent row, and screen reader announcements. On a row header, Ctrl/Cmd+arrow keys no longer jump to the edge of the row, and Enter no longer toggles while an overlay covers the grid. #13759
  • Breaking change: The Loading plugin now needs the Dialog plugin registered: new Handsontable() throws an error without it, where the loading overlay used to show nothing. Register Dialog alongside Loading. Added dist/manifest.json to the package: a list of every feature, the license token that names it, and the features it needs. #14094
  • Added the FormulaBuilder plugin: a formula bar, an inline formula editor with colored references, cell/range/header reference picking, autocomplete, function help, and formula error indicators. DragToScroll no longer starts auto-scrolling on a mouse press that an earlier listener stopped with stopImmediatePropagation(), and the autocomplete, dropdown, and multiselect cell arrows ignore such a press too. #13172
  • Added the preserveTextValue cell meta option that makes the Formulas plugin pass values of text-type cells to the calculation engine as strings, preserving leading zeros of number-like values. Aligning the escaping across every write path also changed how loadData(), updateData(), updateSettings(), and setSourceDataAtCell() feed date-type cells to the engine: non-ISO date-like values (for example '123', '12:30', or 'TRUE') now reach the engine as text instead of a number, a time fraction, or a boolean, a type set only through the cells() function now applies on those paths, and those paths now call the cells() function and the beforeGetCellMeta and afterGetCellMeta hooks once per non-formula text cell. The same work fixes the plugin addressing the wrong engine row from setSourceDataAtCell() on a sorted or moved grid, writing #REF! over a formula whose target still existed and reading a cell’s valueGetter from the wrong row or column when detaching a row with the NestedRows plugin, and reading the autofill source cell’s configuration from another cell when rows or columns were trimmed or moved. #13213
  • Added a searchable matrix of which configuration levels each option takes effect at, and the same information to every option in the API reference. #13305
  • Added the clearManualSizes() method to the ManualRowResize and ManualColumnResize plugins, and the clearManualSize() method to ManualRowResize, which ManualColumnResize already had. They discard the sizes stored by manual resizing, for one row or column or for all of them. #13307
  • Added the textExtractor option, which writes column and row headers to an exported file, and column headers to the clipboard, as the text the grid displays instead of their raw HTML. #13308
  • Added the renderMode option, which lets a grid, column, or cell skip repainting cells that did not change since their last render, together with the markCellChanged() and markAllCellsChanged() methods, and made the selection pass update only the cells whose selection state changed. Under 'onChange', a vertical scroll paints only the rows that enter the rendered area; with merged cells, the cells of the merged blocks repaint too. #13384
  • Added the SheetsBar plugin — a tab bar for switching between sheets of a multi-sheet workbook — and the getManualSize(), getManualSizes(), and setManualSizes() methods to the ManualColumnResize and ManualRowResize plugins. #13409
  • Added the autoLink option, which renders the URLs, email addresses, and phone numbers in cell values as clickable links, with a strict: false mode that also links bare domains and email addresses; formulas.hyperlinks now also accepts a { target, schemes } object, and the Formulas plugin’s registerShortcuts() and unregisterShortcuts() methods are deprecated no-ops because the Alt+Enter link shortcut is a core grid shortcut. #13448
  • Added a sortFixedRows option to the ColumnSorting and MultiColumnSorting plugins. It defaults to false, which keeps the rows frozen by fixedRowsTop and fixedRowsBottom out of sorting, as in 18.0.0. Set it to true to sort the whole dataset, including both frozen areas. The option is grid-level only. #13456
  • Added two ways to narrow what the Filters plugin covers. The new filterFixedRows option, set to false, keeps the rows frozen by fixedRowsTop and fixedRowsBottom out of filtering: they are never hidden by a filter, and their values are no longer listed under Filter by value. Setting filters to false for a column in the columns option now hides that column’s filter controls in its dropdown menu. #13522
  • Added the ImportFile plugin, which loads an .xlsx workbook into the grid through the ExcelJS engine: cell values and inferred types with their number, date, and time formats, dropdown sources, formulas, merged cells, frozen panes, hidden rows and columns, column widths and row heights, read-only cells from sheet protection, comments, nested headers, and, with importStyles, alignment, font, fill, and borders. Features the engine cannot read are reported in one console warning per call. The ExportFile plugin’s XLSX writer now shares the same engine adapter: date and time cells export the Excel number format derived from their dateFormat and timeFormat options (a cell using the default options and the default en-US locale now writes mm/dd/yyyy and hh:mm AM/PM instead of mm-dd-yy and h:mm:ss; a date cell follows its locale, so de-DE writes dd.mm.yyyy), formula cells carry their column’s number format and a cached result, sheet names are sanitized, compression: false writes an uncompressed archive, a formula reference qualified with a sheet name (Rates!A1) is written and read back unshifted (a known limitation when the referenced sheet is exported in the same workbook with headers, see the export guide), a rendered cell’s font color is exported from the cell itself while a cell outside the viewport is read from its classes only, and a rendered font color inherited from a container-scoped CSS variable is no longer written to the file. batch(), batchRender(), and batchExecution() now resume rendering and execution when the wrapped callback throws, instead of leaving the grid suspended. #13551
  • Added the refetchAfterCreate option to dataProvider. Set it to false to skip the automatic fetchRows refetch after a successful onRowsCreate and apply the server response to the grid yourself, for example to keep a newly inserted row on the current page while the grid is sorted. #13563
  • Added the filterValueComparator option to set a custom order of the values in the Filters plugin’s “Filter by value” list, per column or for the whole grid. #13585
  • Added the getCellDependents() and getCellPrecedents() methods to the Formulas plugin. #13594
  • Added a showFormulas()/hideFormulas() toggle to the Formulas plugin, so a formula cell can display its formula text instead of its calculated value, and a Ctrl+` shortcut that toggles it. #13611
  • Added a built-in XLSX engine, so importFile: true and exportFile: true read and write .xlsx files without ExcelJS; engines: { xlsx: ExcelJS } keeps working. With no engine configured, the “To Excel” context menu item is shown, supportsExportFormat('xlsx') and supportsImportFormat('xlsx') return true, and an XLSX export or import succeeds; engines: { xlsx: null } selects the built-in engine, and a per-call engine: null keeps the grid’s engine. A non-finite number (NaN, Infinity) now exports as text. Fixed merged-cell meta left behind and customBorders throwing after a loadData/updateData that shrank the grid, clearBorders() leaving a border’s meta (and its export) behind while rows were sorted or filtered, an XLSX export freezing extra columns or rows when some were hidden, an empty checkbox exporting as FALSE, a cleared numeric cell exporting as 0, an XLSX export downloading [object Promise] under Zone.js (Angular), the Formulas plugin losing a validated write when updateSettings() or a sheet switch ran in the same task, removeCellMeta() throwing for an index past the grid’s range (it now removes the key at that physical index, like setCellMeta()), an XLSX export writing currency codes such as #,##0.00USD that Excel repaired and other applications dropped, and dropping the leading zeros of a zero-padded format, an XLSX export of a right-to-left page writing a left-to-right sheet, a merged range with an empty first cell shifting its row in Apple’s viewers, a border restored by undo under a filter or trim not being painted again, the export progress dialog showing empty for a grid inside an iframe, two overlapping imports applying in the order they finished instead of the order they started, an XLSX export with exportFormulas writing a formula’s error result (such as #DIV/0!) as text instead of an error cell, an XLSX export with exportFormulas writing another row’s formula into a cell when rows were sorted, moved, trimmed, or filtered, an XLSX export writing a currency symbol that imported back as another currency or as a plain number (it now writes the ISO 4217 code), an XLSX export writing LET and LAMBDA parameter names without Excel’s _xlpm. prefix, custom borders staying on their old rows after updateSettings({ trimRows }) or being lost by trimRow() followed by loadData(), a progressive customBorders load landing on the wrong rows after a trim or a filter, and an XLSX export writing a date before 1900 or a date that does not exist as a wrong date serial (it now exports as text). #13634
  • Added a console warning when the data source has rows but Handsontable cannot find any columns in it, because the first row of data has no fields and neither columns nor dataSchema is set. #13637
  • Added the availableConditions setting to the filters option, which chooses the operators that the Filter by condition lists offer, for the whole grid, per data type, or per column. #13661
  • Added support for a number in the textEllipsis option, which clamps the text of a cell to that many lines and ends it with an ellipsis. #13724
  • Added the maxLength option that limits the number of characters in a cell, without a custom validator. If your app already stores a custom maxLength key in cell settings, the built-in limit now applies to those cells, so rename your key or see the migration guide. #13725
  • Added the beforePasteParse hook to the CopyPaste plugin. It fires before the clipboard content is sanitized and parsed, and passes a writable copy of the clipboard and the native ClipboardEvent to the callback, so you can clean pasted data without disabling the plugin. #13726
  • Added the fixedColumnsEnd option, which freezes the last columns at the inline end edge of the grid (the right edge in LTR, the left edge in RTL), and fixed the DragToScroll plugin reserving the row header width on the wrong side in RTL. #13730
  • Added row selection checkboxes with a “select all” checkbox in the header (the rowSelection option), with server-side and nested rows support, and a “check all” checkbox for checkbox columns (the headerCheckbox column option). Also, setSourceDataAtCell() now calls the valueSetter once per cell when an afterSetSourceDataAtCell listener exists. #13735
  • Added the sourceLabel option, which lets the value of a key/value source entry in the dropdown and autocomplete cell types be an object, labeled by a property path or a function. #13765
  • Added the freezeBar plugin, which lets users change the number of frozen rows and columns by dragging a bar on the freeze line or with the keyboard, together with the beforeFreezeChange and afterFreezeChange hooks and the getFreezeCount() and setFreezeCount() methods. #13766
  • Added the limitFixedToViewport option, which draws only the frozen rows and columns that fit the grid and keeps the rest of it scrollable. #13771
  • Added the handsontable/themes/types export, so a theme preset re-exported without a type annotation no longer fails declaration emit with TS2742 or TS2883. #13866
  • Added a native date input to the “Is equal to” and “Is not equal to” filter conditions on date and intl-date columns. #13878
  • Added the ViewState plugin, whose getViewState(), setViewState(), and validateViewState() methods capture the grid’s view (sort, filters, hidden and resized rows and columns, frozen panes, pagination, selection, and scroll position) as plain JSON, check it, and restore it. #13912
  • Added the rowId option, the getRowId(), getVisualRowById(), getPhysicalRowById(), and related row id methods, and the afterRowIdsRemoved and afterRowIdsReset hooks, which give each row an id that stays with its record when you sort, filter, move, insert, or remove rows. #13914
  • Added the AsyncValues plugin, which fills cells from promises, one cell at a time or in batches, with a pending and an error state per cell, cancellation of stale requests, a concurrency limit, retries, and an optional undo step per run, and an optional save of the resolved values through DataProvider. Also, an open editor now keeps what the user typed when setSourceDataAtCell() writes another cell, or when a beforeChange listener vetoes a change to another cell. #13916
  • Added the getAvailableConditions() method to the Filters plugin, which lists the filter conditions a column offers. A view state now restores the other columns’ filters and skips the filter of a column that cannot offer its condition. #13934
  • Added handsontable/settingsSchema: a JSON Schema of the grid, column, and cell settings, and a validateSettings() function that checks a configuration before you apply it and lists each problem with a path, a code, and a message. #13955
  • Added handsontable.settings-schema.js, a CDN file that adds the HandsontableSettingsSchema global with settingsSchema and validateSettings(), so a page that loads Handsontable from a CDN can validate its settings. #13965
  • Added dynamic-array formulas, error cells, and defined names to the XLSX export and import. With exportFormulas, the export writes the Formulas plugin’s named expressions as defined names, the sheet-scoped ones included. The import keeps an array formula’s spilled cells empty so it spills without #SPILL!, keeps the file’s cached values where HyperFormula spills less, and registers the workbook’s defined names in HyperFormula (built-in engine). The XLSX export now changes existing output too: with the Formulas plugin on, it writes each value with the type HyperFormula computed, even without exportFormulas, so a computed number or TRUE/FALSE is no longer written as text, and an error Excel has a code for is written as an Excel error instead of text. It also writes a formula entered with a decimal comma (decimalSeparator: ',') with a dot, so Excel reads 1,5 as 1.5. Fixed exported cell formulas being written one column off when columns were moved with manualColumnMove and hidden columns were left out with exportHiddenColumns: false. #14096
  • Added license gating to the XLSX engine: with a license key that names a tier, importFile and exportFile skip the XLSX features the tier leaves out; a key that names no tier keeps every feature. supportsExportFormat('xlsx') and supportsImportFormat('xlsx') answer false when the tier leaves out the XLSX export or import. The console warning and the license:* entries in the import report name only the features the file or grid actually had and the caller asked to bring over, and without number formats a date or time exports as the text the grid shows. Added the protection option to the XLSX export, so a sheet can be protected with a password of up to 255 characters. #14098
  • Added the license check of plugins: a plugin that the tier of a license key leaves out stays off, and the console and the bar under the grid name the missing features. A plugin turned off with disablePlugin() while its option is on now counts as off for exports, imports, row resizing, the Loading overlay, and the Undo, Redo, and “Copy with group headers” context menu items. #14104
  • Added the hidden_columns_hide and hidden_columns_show keys to the column menu. List them in the dropdownMenu option to show the items. dropdownMenu: true is unchanged. A custom column menu item under one of these keys now uses the built-in action and visibility rule unless you set your own. The MenuItemConfig and PredefinedMenuItemKey types are now also exported from handsontable. #14107
  • Added the import of the errors Excel stores as rich values, such as #SPILL! and #CALC!, to the built-in XLSX engine. Such cells used to import as #VALUE!. A cell holding a linked data type, such as Stocks, is now reported in result.dropped. #14119
  • Added a “Powered by Handsontable DataGrid” bar below the grid for license keys whose terms carry the attribution-bar flag. A license bar now stays within the grid’s declared height. #14139
  • Added the batchEvaluation setting of the formulas option, which makes HyperFormula recalculate once for all changes made inside batch(), and the beforeSuspendExecution, afterSuspendExecution, beforeResumeExecution, and afterResumeExecution hooks. #14268
  • Added the includeSummaryResults option of a column summary, which lets a summary count the results of other summaries inside its range. #14271
  • Added a license tier: a license key can name the Professional tier, which includes every Handsontable feature, and the license key guide lists the features it includes. A key that names no tier keeps every feature. #14284
  • Added an emptyValue option that sets what an emptied cell stores, and stopped a cell editor confirmed without any typing from overwriting the cell’s value with an empty string. #3927
  • Added the AutoRowHeaderSize plugin, which sizes the row header column to its longest label instead of clipping it. #7147
  • React: Added a console warning when a Handsontable function renderer is passed to the renderer prop of HotTable or HotColumn, pointing to the hotRenderer prop instead. #14010

Changed

  • Breaking change: Changed colToProp() and propToCol() to return null when the column index or property names no column that exists and is visible, instead of returning the passed argument. Both TypeScript declarations widened to include null. A property name your data does not use is still returned unchanged, and the modifyData hook now receives null as its column argument for a numeric property that names no column, with its TypeScript declaration widened to match. #13330
  • Breaking change: Changed height: 'auto' to no longer clip the grid, so the page or the nearest scrolling ancestor scrolls it and its rows stay virtualized. See the migration guide for the other width and height changes. #13381
  • Breaking change: The autocomplete, dropdown, and handsontable cell types now default textEllipsis to true, so a long value stays on a single line and truncates with an ellipsis clear of the dropdown arrow, and autoRowSize sizes their rows to one line; set textEllipsis: false on the column to restore wrapping. #13509
  • Breaking change: Changed icons to render as <i class="ht-icon ht-icon-<name>"> elements driven by --ht-icon-<name> CSS variables, and extended the theme icons option to accept SVG strings, class lists (for icon fonts such as Tabler), or renderer callbacks (for Material Symbols ligatures). Pseudo-element icon selectors are removed and the Filters condition caption text moved into a htUISelectCaptionLabel child. Mirrored icons follow the grid’s layoutDirection instead of an ancestor’s dir, and a checkbox on a -no-icons bundle shows the theme’s box with no tick instead of a native checkbox. The iconsMap() theme helper is deprecated in favor of iconStyles(); see the 19.0 migration guide. #13639
  • Breaking change: Changed the TypeScript types of the filters option. The object form now accepts only searchMode, filterFixedRows, and availableConditions, and a column’s filters accepts a boolean or an object that holds only availableConditions, so a misspelled key, a wrong value, or an unsupported per-column key no longer compiles. #13662
  • Breaking change: Changed how undo and redo work: every action is now one undo step that restores the grid state it started from, so an undo puts values back on the right records after rows or columns were moved, sorted, filtered, or trimmed. Hiding, trimming, resizing, freezing, collapsing, custom borders, comments, cell meta, and the pagination page and page size are now undoable, batch(), batchExecution(), and the new runOperation() method group changes into one step, and the new undo: { maxHistory } option caps the history. With undo: false, nothing is recorded anymore. #13672
  • Breaking change: Changed the narrowest width a column can be resized to, in a grid whose headers render the dropdown menu button, from 20px to the icon size plus the cell padding on both sides (32px in Main, 40px in Horizon, 24px in Classic), so the menu button stays inside its own cell. A narrow header now hides the label text first, then the sort indicator, and keeps the menu button. See the migration guide. #13742
  • Breaking change: Changed manualColumnFreeze so that frozen columns can be dragged and columns can be dropped in front of them, as with fixedColumnsStart; to keep the old lock, return false from beforeColumnMove, as shown in the migration guide. Added the restoreColumnPosition option of manualColumnFreeze, a finalIndex argument to the beforeColumnUnfreeze and afterColumnUnfreeze hooks, and fixed the drop guideline being hidden under frozen columns and the selection staying on the old column after a freeze or unfreeze from the menu. #13755
  • Breaking change: Changed updateSettings() so that a new dataSchema, with no columns option set, re-initializes the index mappers and the column-to-property map when the columns it defines change. The grid now resolves the column count of the new schema, and sorting, filtering, and columns that users moved, hid, or resized start over. #13833
  • Breaking change: Changed the colWidths array and function to address columns by their physical index, so a column keeps its width when the user moves it, and when you insert or remove columns. Handsontable never changes the array you pass. Switching colWidths to or from an array, or passing a new array, clears the undo history. See the 18.1 to 19.0 migration guide to keep the old behavior. #13834
  • Breaking change: Changed setValue() on a custom editor that extends BaseEditor so it receives the cell value instead of a string. A React useHotEditor or EditorComponent, and an Angular HotCellEditorComponent, receive that value too. When the editor needs a string, use value == null ? '' : String(value). #13896
  • Breaking change: Declared the enterCommits, filterSelectedItems, notification, maxSelections, valueParser, searchInput, sourceSortFunction, theme, injectCoreCss, and parsePastedValue options in the GridSettings TypeScript type. A value of the wrong type, an unknown notification key, or reading an option without a guard now fails to compile. #13964
  • Breaking change: Changed updateSettings() so that a hook set to null removes the callbacks the settings registered for it, and fixed colWidths: null keeping columns at 50px instead of letting AutoColumnSize size them, and fixed a plugin turned on by updateSettings() reading its previous settings. #14000
  • Breaking change: Changed when plugins set up their initial state: columnSorting, columnSummary, mergeCells, customBorders, pagination, emptyDataState, nestedRows and dataProvider now apply their settings before the first render, so columns under nested headers get their final width at once, and the grid renders once at init (twice when customBorders declares borders). The hooks that work fires (afterColumnSort, afterMergeCells, the afterChange of merges and summaries, afterEmptyDataStateShow, beforeDataProviderFetch and the first fetchRows call) now run before the init hook and the first render, so getCell() returns null inside them at init. The summaries of an updateSettings() call are written after its afterUpdateSettings listeners, so a listener there reads the previous summaries and, when the call also passes columns, a summary cell that is not read-only yet. Calling enablePlugin() on a running grid now applies the plugin’s settings, and for dataProvider it fetches the data from the server. #14080
  • Breaking change: Changed loadData() to drop a change that still waits for its cell’s validator, instead of writing it into the new data at the same coordinates, usually a different record. This also applies when loadData() runs right after setDataAtCell() and when the new data holds the same records. afterChange doesn’t fire for a dropped change. The DataProvider plugin writes such an edit again into its own record after the refetch that follows a save. See the migration guide. #14109
  • Breaking change: Changed the rowHeights and minRowHeights arrays and functions to address rows by their physical index, so a row keeps its height when rows are collapsed with nested rows, filtered, trimmed, sorted, or moved, and aligned the nested rows collapse button with the row header label in rows with an exact height. Switching either option to or from an array, or passing a new array, clears the undo history. Also fixed a row inserted below another taking over that row’s hidden state and manually resized height. See the 18.1 to 19.0 migration guide to keep the old behavior. #14221
  • Breaking change: Vue: Changed the Vue 3 wrapper to type-check every HotTable and HotColumn prop in a template, so vue-tsc rejects a wrong value, a non-function hook prop, or data: null on HotTable. Also made the handsontable prop of both components, and the getValue prop of HotTable, reach the grid settings, which they did not before. See the migration guide for what to change. #14059
  • Changed how the nestedRows plugin treats collapsed rows when the data is replaced: updateData() now keeps the collapsed parents, matching them by their position in the tree, while loadData() drops them, so getCollapsedParents() no longer reports parents from the previous dataset. #13224
  • Changed how a clipboard with rows of unequal length is pasted: it now pastes as wide as its widest row, a shorter row empties the cells it covers, content repeating into a larger selection repeats on that width, and a merged cell reaching past the last column is trimmed to fit. #13237
  • Content shaped like an HTML tag, a markup declaration, or a character reference is now what routes cell and header text through the HTML write path. Ordinary text holding &, ;, < or > is written as plain text, which keeps it from stopping a grid from rendering under a Trusted Types policy. A character reference without its closing semicolon, such as &copy 2024, now renders literally. #13264
  • When manualColumnFreeze is enabled, the column (dropdown) menu now offers the “Freeze column” and “Unfreeze column” entries by default, and rebuilds its item list every time it opens. #13294
  • Made a grid with a pixel width and no height scroll its columns inside its own box while the page scrolls its rows, and fixed the preventOverflow: 'horizontal' layout (the bottom frozen rows now scroll with the page, the vertical scroll hooks fire, and the workspace width follows the container). #13379
  • Improved scrolling performance by removing a redundant re-render that ran whenever the grid was scrolled across its horizontal start. #13393
  • On a grid with column headers, the header now owns the gridline below it at every scroll position, so the first body row no longer renders a pixel taller than the rest and the grid’s height no longer changes when it is scrolled. columnHeaderHeight resolves to the same border-box height at every scroll position as a result, and because that height includes the header’s 1px top and bottom borders, columnHeaderHeight: 40 leaves a 38px content box instead of 39px on an unscrolled grid. #13418
  • Made a vertical scroll keep the row elements of the rows that stay rendered, so a tr moves with its row instead of being repainted in place and a renderer that caches per element keeps its cache across the scroll. #13467
  • Improved rendering performance when rows shrink after a column resize: the viewport refill now renders only the newly added rows instead of re-rendering every visible row on each refill pass, so cell renderers and the beforeRenderer and afterRenderer hooks run once per cell for that draw. #13481
  • Moved the drag behavior shared by the manualRowResize and manualColumnResize plugins into one internal module. Both plugins keep every documented method, option and hook. Their internal members are no longer part of the emitted TypeScript types, including ManualColumnResize#startX, which the API reference never listed but the type definitions did. #13525
  • Made the frozen overlays’ clone holders composited scroll containers, so a scroll frame no longer repaints the whole grid on grids with content-rich cells, and a touch pan over a frozen header now scrolls the grid instead of the page. #13539
  • Changed how the ColumnSorting and MultiColumnSorting plugins sort. Each sorted column is now read in one guarded bulk pass instead of cell by cell, and the sort reorders row positions rather than per-row tuples. A column that sorts with the default comparison (text, and any type without its own sort function, such as dropdown or autocomplete) also extracts each row’s comparison key once instead of on every comparison. Together, this roughly halves the time a large grid takes to sort by a text column. A grid that uses the Formulas or NestedRows plugin, a dropdown, autocomplete, or multiSelect column, a columns[].data accessor, or a column bound to a nested property path (such as data: 'address.city') keeps the per-cell read. When you sort by two or more columns, modifyData and modifyRowData listeners and valueGetter functions now run column by column instead of row by row. #13577
  • Improved filtering performance on large datasets: the Filters plugin now reads each filtered column as plain lists of rows and values, and creates a row’s cell meta inside the filter scan instead of building the whole column’s data up front. #13579
  • Improved the updateSettings() performance with the formulas plugin enabled: a setting that changes the row count, such as toggling nestedRows, now rebuilds the formula sheet once, after the plugins update, instead of twice. A rebuild that fails now surfaces from the first read or render that needed it, and a listener that reads a cell from afterUpdateSettings pays that rebuild inside the read. #13600
  • Improved the performance of loading data and switching sheets on grids with the AutoColumnSize and Formulas plugins enabled, by running the full column measurement once per data load instead of twice. #13604
  • Changed the date, time, and datetime editors to leave the native picker closed when the keyboard opens them, so Tab works after Enter in Chromium, and fixed the time and datetime editors not focusing their input in Firefox. #13821
  • Changed the double-click fill (copy-down) to stop above the first value already in the filled column and at the first gap in the neighboring column, as spreadsheet applications do, instead of filling across gaps or not filling at all. #13906
  • Changed auto-sizing so a column wider than the grid is measured at its content width again, as before 16.2.0, instead of being capped at the width of the grid. This also fixes auto-sized columns that kept a wrapped, narrow width after the grid’s container collapsed and returned. #13907
  • Changed touch taps inside cells when visual selection is off: buttons, file inputs, and links now respond to a single tap. Heads-up: a link in such a cell is now followed on the first tap, where before that tap did nothing. #13950
  • Updated the logo in the trial license badge and the lock screen to the new Handsontable branding. #13980
  • Changed how a hook callback registered more than once is counted: settings that pass a function first added with addHook() stop the hook’s earlier settings function, a callback added with addHookOnce() and then registered again keeps running, and in the Angular wrapper a callback passed both in the settings input and to addHook() runs once, and removeHook() removes it. #14047
  • Changed the grid’s scrollbars to run beside the scrollable area only, so they start after the headers and frozen rows or columns instead of running along the full edge of the grid, and kept the grid’s border visible over them. #14069
  • Changed the label of the “Filter by value” clear link from “Clear” to “Select none” in English, and to the counterpart of “Select all” in 19 other languages. Tests that match the old text need the new one. To keep the old text, override the Filters:buttons.clear key in a language dictionary. Fixed long labels of the two links above the list being clipped at the menu edge. #14075
  • Changed the message for a missing license key: the console warning and the lock screen no longer suggest the non-commercial-and-evaluation key. #14138
  • Changed updateSettings() to render the grid once when the new settings include data. The afterUpdateSettings hook now runs before that render, so getCell() there returns the previous render, and a React HotTable update no longer paints twice. #14203
  • React: Changed useHotEditor so value updates in the same render as setValue, and mounted React editors inherit the grid theme color-scheme. #13376
  • React: Changed @handsontable/react-wrapper to declare react and react-dom 18.0.0 or later as peer dependencies, matching the documented React 18 minimum. #14009
  • Angular: Changed the wrapper to build with Angular 22, which replaces the per-file type declarations with a single bundled types file, while the supported range stays Angular 16 to 22. #13835
  • Angular: Changed the [data] input to update the grid outside Angular’s zone, like the [settings] input. A callback added with addHook() now runs outside the zone on a [data] change too, so async work it starts no longer triggers change detection by itself. #14388
  • Changed the “Powered by Handsontable DataGrid” bar so that a trial license key shows it only when the key’s terms ask for it, like any other key. #14465

Deprecated

  • Deprecated writing past the last column of an object data source. A paste, populateFromArray(), or setDataAtCell() still adds a property named after the column index, which no column can display, and prints a one-time console warning; the write will be ignored in Handsontable 20.0.0. Use setDataAtRowProp() to write a field the grid shows no column for. #13343
  • Deprecated the spliceCol() and spliceRow() methods. They still work but print a one-time console warning and will be removed in 20.0.0. Use populateFromArray() or alter() instead. #13599
  • Added the sr-Latn-RS language code for Serbian (Latin) and deprecated the sr-SP code, which will be removed in 20.0. #13782

Removed

  • Breaking change: Removed the non-commercial-and-evaluation license key. Handsontable now reads it, and its second form, as an invalid key, which locks the grid. Deprecated the Angular wrapper’s NON_COMMERCIAL_LICENSE constant, which holds that key. It will be removed in 20.0. #14144
  • Breaking change: Removed the APIs deprecated for removal in 19.0: saveManualColumnWidths(), loadManualColumnWidths(), saveManualRowHeights(), loadManualRowHeights(), Handsontable.helper.sanitize(), the columnHeaders export option (use colHeaders), and the Settings and DataProviderOptions type aliases (use ExportFileSettings and DataProviderFetchOptions). Also fixed the CollapsibleColumns plugin warning that nested headers were missing when a sheet of the SheetsBar plugin declares them. #14182
  • Removed the unused useHeaders key from the AutoRowSize plugin’s default settings. Nothing read it, so row sizing is unchanged, but autoRowSize.getSetting() no longer returns that key. #13239

Fixed

  • Breaking change: Fixed autocomplete, dropdown, and handsontable arrows wrapping onto a second line next to a long value. The autoColumnSize plugin now measures the arrow into the column width, so existing columns of those types can grow on upgrade. Pin a column with width, or the grid with colWidths, to keep the previous size. #13532
  • Breaking change: Fixed getCopyableData() returning the raw cell value, such as a number, a boolean, or null, instead of the string its documentation and TypeScript type describe. getCopyableSourceData() still returns the stored value, and its TypeScript return type is now unknown instead of string to match. #13559
  • Breaking change: Fixed editor: false being ignored by a column type and by checkbox cells, and added the readOnlyStyling option for making a grid read-only without the dimmed styling. #13584
  • Breaking change: Fixed a numeric cell not right-aligning or getting the htNumeric class when it holds a non-numeric value. #13615
  • Breaking change: Fixed object data with a dataSchema of non-null values and no columns option rendering those columns blank. Each such value now creates a column property, so the columns of a schema that mixes null and non-null values change their order. #13943
  • Breaking change: Fixed the TypeScript type of dataProvider.rowId rejecting a function, which the plugin accepts. Code that reads dataProvider.rowId back as a string now has to narrow it. #13969
  • Breaking change: Fixed removing the Ctrl/Cmd+C, Ctrl/Cmd+X, and Ctrl/Cmd+V shortcuts through the ShortcutManager, which now stops the Ctrl/Cmd+C, Ctrl/Cmd+X, and Ctrl/Cmd+V keys from copying, cutting, and pasting. Other native clipboard keys, such as Ctrl+Shift+V and Shift+Insert, are not blocked. The grid shortcut context now lists these three shortcuts by default, so hasShortcut() and getShortcuts() report them, and an application that removed its own Ctrl/Cmd+V by keys to get the native paste back must now remove it by group. #14054
  • Breaking change: Fixed the React, Vue, and Angular wrappers so that a hook callback stops running after you remove its prop or set it to a value that is not a callback, such as null, undefined, or false. #14105
  • Breaking change: Fixed spilled arrays turning into #SPILL! when a sheet is added to or removed from a HyperFormula engine that the Formulas plugin created, for example when a second grid connects to it (HyperFormula 3.1.1 or later). SHEET() and SHEETS() now also update after a sheet is renamed. After a middle sheet is removed, SHEET() returns the sheet’s engine number instead of its position. #14123
  • Breaking change: Fixed borders added from the context menu being invisible in dark color schemes: they now use the new --ht-custom-borders-default-color theme variable (black in light schemes). Their color in getBorders() and getCellMeta().borders is now the CSS value var(--ht-custom-borders-default-color, #000) instead of #000, so read it as a CSS value, not a hex string. #14129
  • Breaking change: Fixed the Dialog plugin staying enabled after loading: false and ignoring a later dialog: false. The Loading plugin now requires the Dialog plugin instead of writing the dialog option, so the Dialog plugin is on while dialog is set or loading is on, and off when neither holds. If you use the Dialog plugin and set only loading, set dialog: true. #14224
  • Breaking change: Fixed a row dragged into a gap that holds hidden rows landing on either side of the hidden rows, depending on where in the gap the pointer was released. Both halves of the gap now land the row after the hidden rows, and the beforeRowMove and afterRowMove hooks report the resolved drop index for the lower half. See the 19.0 migration guide. #14259
  • Breaking change: Fixed a validated edit being saved into another row when the rows are sorted, moved, filtered, inserted, or removed before its validator answers. The afterChange and beforeChangeRender hooks now pass AppliedCellChange changes, whose row is the record’s current visual row, or null for a record a filter or a trim took out of the visible rows, and the row of modifyData and afterValidate is number | null. Added the getPhysicalRowOfChange() method, which finds the record of such a change. See the 18.1 to 19.0 migration guide. #14278
  • Breaking change: Fixed rowHeights being treated as a minimum height: a row now renders at exactly the height you set, even when it is shorter than the default row height, and content taller than the row is clipped instead of stretching it. Use minRowHeights to keep the previous behavior, where the value is a floor the content can grow past. #4021
  • Breaking change: Fixed the autocomplete, dropdown, handsontable, and multiselect editors’ lists being cut off by the grid’s edge or by a scrolling parent – the lists now open against the browser window, so every choice that fits on screen is shown. See the migration guide for the other placement changes. #8688
  • Breaking change: React: Fixed the React HotColumn props type so it no longer suggests hook callbacks such as afterChange, which only run from HotTable. A hook passed to HotColumn now fails with TS7006 under noImplicitAny. #13783
  • Fixed an issue where column headers no longer matched their columns after inserting a column into a moved column order. #10028
  • Fixed the nestedRows plugin hiding parent rows and showing orphaned child rows when updateData() was called with a different number of children while some parents were collapsed. #10239
  • Fixed an issue where the grid scrollbars could not be reached under frozen rows, frozen columns, or the column header. #10370
  • Fixed a problem where a formula updated by inserting or removing a row or column reverted to its previous state after the data was loaded back into the grid. The data is left untouched while rows or columns are sorted or moved, because the grid and the formula engine then hold different row orders. #10388
  • Fixed source data validation for object data and moved columns. #13073
  • Fixed missing theme icons and, in right-to-left grids, rounded corners drawn on the wrong cells, both caused by the CSS minifier lowering nested rules and logical properties for browsers below the build targets; those targets are now Chrome and Edge 130, Firefox 132, and Safari and iOS 18.2. #13232
  • Fixed the grid failing to construct under a Content Security Policy that enforces Trusted Types (require-trusted-types-for 'script'). Handsontable now builds its own markup as DOM nodes, so it needs no Trusted Types policy and no entry in your trusted-types directive, and the sanitizer option may return a TrustedHTML. Three behavior changes come with it: the paste path hands your sanitizer the clipboard payload unchanged and flattens its result afterwards, toHTML() now sanitizes column and row headers, and character references outside a fixed set of names are no longer decoded in dialog copy or in cell text read through toTableElement(). See the migration guide for details. #13244
  • Fixed populateFromArray() with the shift_down method, and the Handsontable.helper.pivot() helper, silently dropping cells when the input rows had unequal lengths. #13254
  • Fixed a row or column move blocked by beforeRowMove or beforeColumnMove still adding an entry to the undo stack; impossible moves and moves that leave the order unchanged are no longer recorded either. #13257
  • Fixed a crash when the dialog, notification, emptyDataState, pagination, or loading option was enabled in a grid nested in a cell of the handsontable, autocomplete, or dropdown cell type. These options now apply to the main grid only. #13265
  • Fixed the alignment options dropping the cell’s other class names, and undoing an alignment leaving the cell aligned left. #13266
  • Fixed an in-progress cell edit landing on the wrong record, or appending rows to the source data, when rows or columns were filtered, trimmed, sorted, moved, inserted, removed, or replaced while the editor was open. The edit now follows its own record, and is discarded when a filter or trim takes that record out of view. #13272
  • Fixed the autocomplete and dropdown editors re-showing a closed suggestion list and taking keyboard control back from the page when an asynchronous source answered after the editor had closed. A source function is no longer called at all once the edit has finished, and queryChoices() is now a no-op while no edit is in progress. #13273
  • Fixed an editor option of true throwing an error instead of using the default editor. #13278
  • Fixed a non-left-button click on a cell’s dropdown arrow opening the cell editor. #13295
  • Fixed the autocomplete and dropdown editors committing a previously suggested value instead of the one being typed. #13297
  • Fixed a bug where the average column summary showed NaN once the summarized range held no values, for example after you cleared the source cells with the Delete key. It now shows Not enough data, the same result the min and max summaries already returned for an empty range. Ranges that still hold at least one value are unaffected, and empty cells stay excluded from both the sum and the divisor. #13299
  • Fixed a bug where undoing a row removal threw an error, restored the row without its data, and stopped recording further actions when dataSchema was a function, either because the row objects had read-only members or because the columns used function data accessors. Writing to a read-only source-data member with setSourceDataAtCell() no longer throws (the write is skipped), and a row’s own function-valued properties are no longer restored by reference on undo. #13300
  • Fixed selection-dependent cell edits being lost when trimming moved their records. #13304
  • Fixed a problem where filtering or trimming rows could leave the selection on a row that no longer held the record it was put on, so a paste or a Ctrl+Enter commit through that selection appended new rows to the data. Such a selection is now cleared. #13310
  • Fixed the multiselect cell type not showing a dropdown indicator and not opening its list on a single click, unlike the autocomplete and dropdown cell types. #13316
  • Fixed an error thrown when a context menu was opened over a row or column resize handle. #13319
  • Fixed text selection not working inside frozen rows and columns when fragmentSelection is enabled. A selection now stays within the area it starts in. #13320
  • Fixed a bug where setDataAtRowProp() and setSourceDataAtCell() reported the previous value of the wrong column when the property was a number and the columns were moved or remapped through columns[].data. The oldValue passed to beforeChange, afterChange and afterSetSourceDataAtCell now comes from the addressed cell, and undoing such a change restores the original value instead of overwriting the cell with another column’s value. Data addressed by a string property was never affected. A numeric property against object-shaped data now reports the value stored under that numeric key (usually undefined), which is where the write itself lands. #13322
  • Fixed a bug where a column’s sourceDataValidator checked one cell but cleared a different one when the columns were moved or remapped through columns[].data, so setting allowInvalid to false could erase a column that was never validated. #13323
  • Fixed the grid appending rows to the source data when a filter was applied right after removing rows while a cell editor was open. #13332
  • Fixed unavailable context menu and column menu items being shown as rows labeled with their raw configuration key, and a parent:child item key throwing an error when clicked. #13340
  • Fixed the row and column resize handles staying in the container after the manual resize plugins were disabled, where they swallowed clicks on the header underneath. #13346
  • Fixed the guard against an endless ResizeObserver loop, which a busy machine could stop from engaging at all, and which permanently stopped a grid from reacting to container resizes once it did engage. The guard now measures the loop in rendering frames rather than in elapsed time, so it engages on any machine, and it reconnects the observer after a short cooldown instead of disconnecting it for good. #13355
  • Fixed frozen columns painting under the scrollable table after a CSS rotate transform. #13369
  • Fixed the fill border following the mouse after a double-click on the fill handle. #13370
  • Fixed a custom editor closing and discarding its value when the browser focus moved into an element declared as preventCloseElement. #13387
  • Fixed the fill handle staying in a drag state when the fillHandle option was disabled through updateSettings() in the middle of a drag, which made the fill border follow the pointer after the mouse button was released. #13391
  • Fixed a grid with height: 'auto' showing a vertical scrollbar, and a horizontal one behind it, when it was rendered below 100% browser zoom or system display scaling. #13392
  • Fixed a merged cell losing the rows that a filter or the trimRows plugin had removed from view when a row move split that merged cell, and a merged cell left with a single row in view being removed by any row move. #13394
  • Fixed the numeric cell type writing its htRight and htNumeric classes into a shared cell className array, which put those classes on cells of other columns. #13395
  • Fixed an undo of a cell edit writing to the wrong row, adding a row, or stopping the undo history from recording, when a filter or row trimming hid the edited row after the edit. Such an undo now writes the source data, so it fires afterSetSourceDataAtCell and modifySourceData instead of beforeChange, afterChange, and modifyData. #13396
  • Fixed the “Filter by value” search box ignoring the column’s locale once the filter menu had been confirmed. #13397
  • Fixed the wrong gridline color between the corner cells and the first column header in grids with more than one row header. #13399
  • Fixed a custom editor losing its own keyboard shortcuts after a click in its input field. #13400
  • Fixed a bug where inserting a row next to a top-level row through the nestedRows context menu moved cell meta and row states off the rows they belonged to. Insert row above and Insert row below counted the position within the top-level rows rather than the row’s position in the grid, so comments, cell classes, hidden and trimmed row states, and the row that undo removed all landed on the wrong row whenever an earlier top-level row had children. That insert no longer runs through alter(), so beforeAlter and beforeDataSplice no longer fire for it, matching the Insert child row and nested-child paths, which never fired them. Inserting next to a row that sits inside a collapsed parent still reports the wrong row to undo. #13401
  • Fixed a bug where detaching a row from its parent left cell metadata, such as comments and custom class names, on the wrong rows. The detached row’s own metadata is now cleared instead of being left behind on another row. #13402
  • Fixed merged cells whose rows are trimmed or filtered out being deleted by a column move or a column freeze, or drawn over the wrong rows after a row or column move. #13403
  • Fixed row headers drifting out of alignment with their rows after calling AutoRowSize#clearCache(). #13404
  • Fixed the Comments plugin throwing when enabled a second time, and the Formulas, Comments, and Loading plugins keeping their hooks registered after being disabled. #13410
  • Fixed the cell highlight jumping to a previously clicked cell when you Ctrl/Cmd+click a cell that is already selected. #13412
  • Fixed a grid with custom row heights or column widths rendering too few rows or columns after sorting, moving, or filtering, which left blank space in the viewport and made rows appear repeated or out of order. #13413
  • Fixed the context menu throwing under a Content Security Policy that enforces Trusted Types (require-trusted-types-for 'script') when an item showed a check mark, which happened for “Read only”, “Read-only comment”, and any border already applied to the selection. The mark was built as an HTML string and written through innerHTML; it is now built as a DOM node, so the menu needs no Trusted Types policy and no sanitizer, and those items are announced to assistive technology as checkboxes, so their state is read out and not only drawn. A custom context menu or column menu item can show the same mark through a new checked option, which takes a boolean or a function returning one. Note that checked is now a reserved item property: an item that already carries one holding a boolean or a function is drawn with the mark and announced as a checkbox, so rename it to opt out, and drop any mark drawn inside name or the item shows two. See the migration guide. #13420
  • Fixed a bug where a row, column, or data change that was vetoed, or that failed with an error, could make the grid commit an open editor into a new, unintended record, or stop the grid from opening editors at all. #13425
  • Fixed an open editor committing its edit to the wrong row when a hook called alter() from inside another alter(). #13430
  • Fixed the overlays not being resized when the grid’s total size changed but the rendered rows did not, for example after hiding columns or filtering rows. hot.view.adjustElementsSize() now resizes the overlays right away instead of scheduling the resize for the next render, and nothing needs to call it any more, because the grid detects the change on its own. #13442
  • Fixed the AutoRowSize and AutoColumnSize sampling options (samplingRatio and allowSampleDuplicates, plus useHeaders on AutoColumnSize) being silently ignored when changed through updateSettings(). They now apply, and the measured sizes are recalculated when one of them actually changes. Fixed AutoRowHeaderSize resetting its own samplingRatio and allowSampleDuplicates to the defaults whenever an updateSettings() call did not mention the plugin. All three plugins also read samplingRatio the same way now: it must be a whole number above zero, and any other value falls back to the default of 3. #13443
  • Fixed the context menu and column menu submenus closing while the pointer was still moving towards them, and stopped a brief hover from opening a submenu after the pointer had already left the menu. #13445
  • Fixed a custom renderer that caches per cell element missing its cache on every vertical scroll step, since 18.0 repainted the stationary elements in place. #13446
  • Fixed a bug where the comment editor closed while the user was dragging its resize grip, and where it closed after the pointer left the editor and came straight back to it. #13447
  • Fixed the Autofill plugin throwing an error on every pointer move across the page after a grid failed to initialize. #13453
  • Fixed removing a nested parent row leaving its deeper descendants behind as blank rows. #13457
  • Fixed a plain value written into an autocomplete or dropdown cell whose source is an array of key and value objects being stored as the bare label. The matching object is now stored, so a paste, setDataAtCell() and autofill behave like the cell editor, which already resolved the label, and a strict column no longer marks a valid pasted option as invalid. Undo and redo now restore such a cell exactly as it was, instead of rebuilding the object with the label as its key. Clearing such a cell now leaves it empty and honors emptyValue, instead of storing an object of empty halves. #13458
  • Fixed a bug where a dropdown or autocomplete editor’s list disappeared and could no longer be used after the edited cell was scrolled out of view and back in a fixed-height grid. #13464
  • Fixed undoing the removal of a nested parent row. #13471
  • Fixed an error thrown when sorting a grid whose formula engine sheet is shorter than the grid. This happens with trailing empty rows, or with a sheet the sheets bar adds at runtime, which could then no longer be switched back to. #13478
  • Fixed the grid reporting a layout shift on every scroll frame (div.wtSpreader), which made a host page’s Cumulative Layout Shift grow without bound while scrolling. #13486
  • Fixed a dropdown column with strict: false accepting a value outside its source list unless the user had clicked that cell first. A paste, autofill, setDataAtCell(), populateFromArray() and validateCells() now mark such a value invalid, the same as typing it into the cell. #13487
  • Fixed keyboard shortcuts, including select all, undo and redo, not working while the empty data state overlay is on screen. This covers the overlay shown while a data provider fetch is in flight, where those keys were dead too. Shortcuts that change cell content no longer run while the grid renders no cells or an overlay covers them, and the selection can no longer be moved onto a covered cell. Tab now moves the focus out of the overlay. Deactivating or unregistering a focus scope now restores the shortcut context that scope displaced. #13489
  • Fixed a problem where collapsing a nested-rows section that held the selection left the grid with no selection, so it stopped answering the keyboard until it was clicked again. #13492
  • Fixed the last column header being clipped by a scrollbar’s width, and the root element carrying htHasScrollX/htHasScrollY for scrollbars that were never shown, after the container of a stretchH: 'all' or stretchH: 'last' grid was resized. #13493
  • Fixed the confirm dialog opening with the keyboard focus left outside it, and the dialog’s focus() method doing nothing on that dialog type. #13497
  • Fixed a grid not selecting a cell when the user tabbed into it inside a shadow root, and a grid dropping its keyboard handling when a web component rendered in a cell was clicked or tabbed through. #13499
  • Fixed a bug where the hiddenColumns and hiddenRows indicators extended one pixel beyond their cell, which made the grid report content it could not fit. A grid using stretchH with frozen columns showed a horizontal scrollbar with nothing to scroll, and its rows drifted apart across the frozen boundary once scrolled to the bottom. A grid using height: 'auto' grew a vertical scrollbar it should never have. The indicators look the same as before. #13500
  • Fixed a menu item callback that throws, or that closes the menu while it opens, leaving the grid unusable for the rest of the page. #13503
  • Fixed the cell selection after an overwrite paste into a column that uses a validator (e.g. dropdown), so it now covers all the pasted rows. #13505
  • Fixed the pagination page-size select not filling its rounded corners. #13512
  • Fixed the documented firing rule for the row and column removal hooks, which fire once per run of neighboring indexes. #13518
  • Fixed screen readers not announcing a cell’s column header. #13519
  • Fixed merged cells keeping the wrong value after a column move. #13520
  • Fixed an alter action that removed no rows or columns still being added to the undo stack. #13521
  • Fixed the Ctrl/Cmd+Enter shortcut, so it now fills every selected cell across all selection layers, not only the layer that holds the focus. This applies both when an editor is open and when it is not, and a cell whose value is an object is left alone as it is on every other populate path. Plain Enter over such a selection no longer drops every layer but the focused one either - it moves the focus and keeps them all. #13524
  • Fixed a column sort that skipped the last data row when spare rows overlapped bottom-fixed rows, and that left spare rows sortable when maxRows and minSpareRows were set without bottom-fixed rows. #13526
  • Fixed Filter-by-value listing plaintext source values in password columns. Password values now reach the modifyFiltersMultiSelectValue hook as hashed display, so an existing handler on a password column either receives the hash or has its return value replaced, depending on registration order. #13527
  • Fixed setBorders dropping cascaded or partial custom border sides. #13529
  • Fixed pasting a clipboard taller than the remaining rows on the current page so the leading rows are kept instead of the trailing ones. #13531
  • Fixed pagination snapping back to initialPage after next or previous when that option stayed in the settings. #13536
  • Fixed the pagination and sheets bars covering a data row, being clipped inside a scrollable ancestor, or growing wider than their container when the grid had no height option and was sized in CSS. #13538
  • Fixed missing mobile selection range handles on iPadOS. #13540
  • Fixed mouse selection of a cell larger than the viewport leaving the start of the cell clipped. #13544
  • Fixed the Serbian context menu label for inserting a column on the right. #13545
  • Fixed inconsistent navigation over merged cells: a non-Tab horizontal move off a merged cell now always lands on the merged cell’s top row, whichever row it was entered from. #13546
  • Fixed full-row and full-column selection highlights drifting from headers with custom padding, including RTL columns. #13547
  • Fixed the multiselect dropdown opening off-screen when there was not enough space on the right. #13548
  • Fixed global and sticky RegExp validators returning inconsistent results across validateCells() runs. #13549
  • Fixed custom borders configured with width 0 still painting a 1px edge. #13550
  • Fixed the Show column and Show row menu items not restoring an initially hidden middle column or row from an adjacent header. #13553
  • Fixed the row and column resize guide remaining visible after a held double-click autosize. #13554
  • Fixed the beforeColumnSort and afterColumnSort TypeScript definitions, which omitted the sortPossible argument that both hooks pass. #13555
  • Fixed the alter() method removing the wrong rows or columns when the given index points outside the table. #13556
  • Fixed the clear() method emptying only the highlighted cell when selectionMode was set to single, and only the current page when the pagination plugin was enabled. clear() now empties every cell of the data set without selecting all cells first. As a result, it no longer triggers selection hooks such as beforeSelectAll, afterSelectAll, and afterSelection, it triggers afterDeselect only when cells were selected, and undoing it restores the selection you had before instead of selecting every cell. #13557
  • Fixed the “Read only” and “Read-only comment” context menu items showing as checked when only some selected cells were read-only. They now show a dash and are announced as partly checked, clicking “Read-only comment” on such a selection sets every comment to the same state, and the checked option of a custom menu item accepts 'mixed'. #13562
  • Fixed an error thrown when the nestedRows plugin was enabled at runtime through updateSettings(), and made switching the plugin on or off update the number of rows the grid shows. #13564
  • Fixed undo after a partial column removal recording out-of-range column indexes, and clarified that afterRemoveRow and afterRemoveCol fire on no-op removals. #13565
  • Fixed the headers and the frozen rows and columns flickering while the browser window scrolls the grid. #13567
  • Fixed a bug where a host page style rule targeting span elements changed the font family, size, weight, and spacing of the pagination labels and the multiselect cell chips. #13571
  • Fixed minRows, minSpareRows, minCols, and minSpareCols not removing the empty rows and columns they added when lowered with updateSettings(). #13572
  • Fixed a columnSummary endpoint with reversedRowCoords not following the last row when rows are added or removed via alter(). #13573
  • Stopped rendering the cell selection, fill handle, and cell highlight on printouts, where they previously appeared as broken artifacts (an empty box and missing borders). #13574
  • Fixed the “Hide rows” and “Hide columns” context menu options appearing when all rows or columns were already hidden. #13578
  • Fixed a bug where calling the init() method more than once on the same instance created a duplicate overlays DOM structure. A repeat call now logs a warning and does nothing. #13580
  • Fixed a bug where enabling or disabling the nestedRows plugin with updateSettings() left the formula engine on the previous row layout, so formulas calculated against the wrong rows. #13583
  • Fixed the NestedRows plugin leaving the collapse buttons and the indentation in the row headers after being disabled. #13590
  • Fixed the disableVisualSelection: 'header' option incorrectly hiding the currentRowClassName and currentColClassName indicators on body cells and on the current row’s and column’s headers. #13595
  • Fixed a bug where overwriting a checkbox column with a custom renderer that rebuilt the cell through innerHTML rendered the checkbox unchecked and stopped it from appearing checked when clicked. #13601
  • Fixed the column sorting comparator running twice when columnSorting (or multiColumnSorting) is enabled via updateSettings. #13608
  • Fixed the currentRowClassName and currentColClassName indicators painting only the leaf header level for nested or grouped headers. #13610
  • Fixed the read-only toggle from the context menu / column menu not being available to undo and redo. #13612
  • Fixed rows hidden by the hiddenRows plugin becoming visible and row-header selection misbehaving after undoing their removal. #13613
  • Fixed undo and redo after detaching a nested row, and an error when detaching a nested row with a trimmed child while formulas are enabled. #13616
  • Fixed an error thrown when pressing Home or End in the date, time, and datetime editors. #13619
  • Fixed the UMD bundles breaking on pages not served as UTF-8: the non-minified bundles failed to load, and the minified ones misparsed formula names and garbled text. #13632
  • Fixed wheel and trackpad scrolling that stalled and jumped while the cursor was over a selection with selectionHandles enabled, and stopped hovering a selection from firing the selection hooks. #13633
  • Fixed a bug where the selection handles (selectionHandles) were drawn on the frozen column or row line in the middle of a selection that spans a frozen pane, and duplicated on its edges. #13635
  • Fixed column headers drifting out of view, and the scroll position snapping back on release, while dragging the horizontal scrollbar of a grid with no rows, or with every row filtered out or hidden. #13636
  • Fixed the CSV export writing only the bottom header row when the nestedHeaders option is set. Every header layer is now exported, so a CSV file with nested headers starts with one header line per layer instead of one: code that skips a single header line when reading the file must skip one line per layer. Both the CSV and Excel exports now pass nested header labels through the modifyColumnHeaderValue hook, as the grid does, which changes the Excel header text when the hook is set. Also fixed the Excel export mishandling nested headers when a column inside a header group is hidden, or when the NestedHeaders plugin is disabled at runtime. #13638
  • Fixed the moveCells drag bands being drawn on the frozen column and row boundary inside a selection that crosses a frozen pane. #13649
  • Fixed the Formulas plugin keeping the children of a removed parent row when the Nested Rows plugin is enabled, and the beforeRemoveRow hook receiving only the parent row after an updateSettings() call. #13650
  • Fixed the pagination and filters plugins ignoring a dataProvider that you add or remove with updateSettings() after the grid loads, and treating a dataProvider that a conflicting option (such as trimRows) blocks as server-backed: both plugins now page and filter the local rows then. Fixed a console error when you destroy the grid while dataProvider is still fetching. Added the isFetching() method to the dataProvider plugin. #13652
  • Fixed MergeCells throwing an error, or dropping merged cells, when mergeCells was updated while a filter hid the merged rows. #13660
  • Fixed the selection of a merged cell that crosses a frozen row or column line drawing extra selection borders and fill handles inside the cell. #13667
  • Fixed column summaries after a column or row move: a summary now follows its column and keeps summarizing the same rows. sourceColumn and destinationColumn are now read as physical indexes, as documented. If your grid starts with a column order (a manualColumnMove array or an order restored by persistentState), a summary can now show up in a different column than before. #13668
  • Fixed the empty data state loading overlay keeping an outdated size when a dataProvider fetch started after the grid was resized, which let it cover the pagination bar. #13669
  • Fixed the “Read only” item of the context menu and the column menu unlocking a read-only column summary cell. The item no longer appears when the selection is only summary cells, and toggling a wider selection, such as a whole column, leaves a summary cell read-only, including after undo. Calling setCellMeta() or removeCellMeta() to make a read-only summary cell editable has no effect either; set the column summary’s readOnly option to false instead. #13670
  • Fixed the last column of a grid with height: 'auto' being cut off inside an overflow: hidden parent, when padding sits between the two or the grid’s width is under 100%. #13681
  • Fixed the Refetch button on the DataProvider error notification so it retries the failed page or page-size change instead of reloading the previous page. #13685
  • Fixed a bug where a page-wide scrollbar-width rule painted scrollbars into the column headers, row headers, and frozen rows and columns. #13687
  • Fixed user overrides of context menu and dropdown menu items added by plugins, such as disabled() on the Comments plugin’s commentsAddEdit item, being ignored. #13688
  • Fixed a TypeError thrown on render when a column or row header cell had lost its label element, and the afterGetColHeader hook firing twice for a column header whose content the grid had to rebuild. #13689
  • Fixed the list of the autocomplete, dropdown, handsontable, and multiselect editors opening from the wrong edge of its cell on a right-to-left page scrolled sideways by the browser window. A list wider than the cell, such as the handsontable or multiselect list, could open off screen from a cell near the window’s right edge. #13702
  • Fixed the Read only menu item so that it can make a selection read-only when some of its cells get readOnly from the cells option. The item now leaves those cells alone, and its check mark ignores them. #13707
  • Fixed a bug where the rows created by a paste past the last row were not validated when the trimRows plugin was active. #13709
  • Fixed an uncaught error thrown when a dialog was destroyed while its transition was still running. #13710
  • Fixed the default ranges of a Column summary endpoint not following the table when rows are added or the data is reloaded. The default range now always covers the whole table, so a row appended past the last row, a row inserted above the first row, and the rows of a longer dataset are all summed. A blank cell in that default range no longer throws when forceNumeric is on and suppressDataTypeErrors is false. #13719
  • Fixed a paste that could overflow the current pagination page when fragmentSelection was enabled. #13720
  • Fixed the Formulas plugin dropping the last column of a grid built without data when the first-row cell of that column was emptied and the settings were applied again. A switch to a sheet with uneven rows now loads the grid as wide as the widest row of that sheet. #13721
  • Fixed “Clear column” leaving the values of the rows hidden under collapsed nested-row parents. #13723
  • Fixed a dropdown menu or context menu staying open after pressing a CollapsibleColumns expand/collapse indicator. #13727
  • Fixed an issue where a custom noWordWrapClassName replaced the built-in htNoWrap class, so cells still wrapped their content with wordWrap: false. Handsontable now always adds htNoWrap next to your class. To set another white-space value, use a selector stronger than .handsontable .htNoWrap, for example .handsontable td.yourClass. #13728
  • Fixed merged cells that cross the fixedRowsBottom line shifting the frozen bottom rows by one column and losing their selection outline. #13740
  • Fixed an issue where a column width equal to the grid width was ignored, and a null column width rendered at the default width instead of falling back to colWidths. #13741
  • Fixed a whole-column selection or a select-all not growing to cover the rows that come back when nested rows are expanded or trimmed rows are restored. #13744
  • Fixed an issue where a merge refused because it overlapped an existing merged cell still added an empty step to the undo history, cleared the redo history, unmerged the merged cells inside the selected range, and left merged-cell flags on cells that are not merged. A refused merge no longer fires the beforeMergeCells hook, so a beforeMergeCells listener can’t make room for an overlapping merge anymore. #13745
  • Fixed an issue where updateSettings() ignored a new value for fixedRowsTop, fixedRowsBottom, fixedColumnsStart, or fixedColumnsEnd after alter() removed a row or column, or after the ManualColumnFreeze plugin froze or unfroze a column. #13747
  • Fixed merged cells in the frozen columns: a right-aligned or centered value no longer shows twice, a long value no longer makes the frozen row taller, and the rows of a merged cell keep the same heights in every pane when the grid has no row headers. #13750
  • Fixed a blank area at the end of the horizontal scroll when NestedHeaders grows the column widths to fit long header labels. #13751
  • Fixed the fill handle of a cell in a frozen top row showing over the row headers and the frozen columns after a horizontal scroll. #13757
  • Fixed an issue where the frozen columns stayed misaligned with the rest of the grid when a custom renderer’s content, such as an image, finished loading after the first render and changed a row’s height. #13758
  • Fixed an issue where selecting a cell pulled the grid back to that cell when the grid was scrolled programmatically right after selecting it. #13768
  • Fixed a bug where Shift + mouse wheel scrolled the rows instead of the columns. #13778
  • Fixed slow rendering, loading, and undo in grids with date, time, or intl-datetime columns, caused by building a new date formatter for every cell value. #13780
  • Fixed the column range and the focus of a Shift+click on nested headers, so both are measured from the header or cell the range started from. #13786
  • Fixed an issue where pressing Tab could not bring the focus back into a grid that the focus had left at the edge of the page. #13787
  • Fixed an issue where the empty data state overlay was taller than a grid with height: 'auto' inside a clipping container and covered the content below it. #13790
  • Fixed the Filters plugin rendering text inputs instead of date inputs for the “Is between” condition on date columns, which made dates typed in the column’s display format match no rows. #13791
  • Fixed Shift+Arrow on a column-header or row-header selection jumping to the edge of a merged cell it crosses, instead of extending the selection by one column or row. #13792
  • Fixed the row and column that a drag selection reaches when the pointer leaves the grid past a merged cell, which could land several rows or columns off. Autofill, drag-to-scroll, move cells, and the selection handles now agree with it when every visible column is merged. #13793
  • Fixed the date editor erasing a cell’s date when the native date input held an incomplete date. #13794
  • Fixed a column resize drag that overshot by the width of the hidden column indicator for a column next to a hidden column. The newSize of beforeColumnResize and afterColumnResize for such a column no longer includes the width of the indicator. #13795
  • Fixed the lists of the Handsontable, autocomplete, dropdown, and multi-select editors, which landed a scrollbar’s width away from their cell when the page draws its root scrollbar on the left. #13798
  • Fixed the comment editor covering a cell near the viewport’s left edge instead of flipping to its right side on an RTL page scrolled by the window. #13799
  • Fixed a bug where a custom editor with the portal position opened far from its cell in a grid with the right-to-left layout direction. #13800
  • Fixed a window scroll jump on a right-to-left page when the grid sits in a shrink-to-fit wrapper or is offset from the page’s right edge, which made opening an editor or selecting a visible cell scroll the page. #13801
  • Fixed the lists of the handsontable, autocomplete, dropdown, and multiselect editors opening past the viewport’s edge in a grid the window scrolls inside a transformed or translated ancestor, and the multiselect list overlapping its cell when it opens above it. #13802
  • Fixed the multiselect editor’s list opening past the top or bottom of the viewport when the room around its cell was close to the list’s height. #13809
  • Fixed the layout of a grid that scrolls its columns in its own box while the page offsets it from the inline-start edge (an ancestor with overflow-y: clip or preventOverflow: 'vertical', in left-to-right and right-to-left pages): the first visible column, the rendered columns, the stretched column widths, and the scroll position of a selected cell no longer include the offset. #13810
  • Fixed an issue where releasing a dragged horizontal scrollbar on an RTL page scrolled by the window jumped the page back to its start. #13811
  • Fixed an issue where the date values in the “Filter by value” list turned into #bad-value# after updateSettings() carried the filters option, for example on a React re-render. #13814
  • Fixed the date editor in Firefox not focusing its input when opened with the keyboard and keeping the date picker open after the editor closed. #13818
  • Fixed the selection of a merged cell that reaches into fixedColumnsEnd, so the frozen part is filled and outlined and shows the fill handle. getCell(row, column, true) now returns the cell of the frozen part for such a block instead of null. #13819
  • Fixed a bug where a grid with preventOverflow: 'horizontal' and no width widened the page, which gained a horizontal scrollbar into empty space. The grid now clips its content at its own edges, as it does with a set width; the resize guide of the last column is hidden past the grid edge, and the resize still works. #13820
  • Fixed the multiselect editor’s list opening above a cell that had room for it below when the source had more entries than visibleRows. The list now flips at the same point as a short source with the same visibleRows, which moves the flip threshold for long-source multiselect columns. #13823
  • Fixed the missing highlighted border between the corner and the first column header when the first column is selected. #13824
  • Fixed notification toasts appearing at the container’s far edge instead of the grid’s in the end corners, and bottom-corner toasts covering the pagination bar. A toast stack’s maximum width and height now follow the grid, so a small grid shows smaller toasts, and inline styles now override a custom top, left, width or height set on .ht-notification. #13825
  • Fixed an issue where removing several columns at once from a moved column order left the headers of other columns removed in their place. #13849
  • Fixed a bug where importing a theme preset (for example handsontable/themes/static/variables/tokens/main) or a language dictionary (for example handsontable/i18n/languages/de-DE) with a default import in an ES module project using node16 or nodenext module resolution typed it as the module namespace instead of the preset or the dictionary, which made registerTheme() fail to compile and deDE.languageCode a type error. #13858
  • Fixed an issue where Autofill copied the wrong values, or blanks, on a wide grid with the Formulas plugin when the data was an array of objects read through columns. #13859
  • Fixed the fill handle filling no cells after a diagonal drag, and leaving the rows it inserts with autoInsertRow empty. #13860
  • Fixed the type of the default import of handsontable and handsontable/base under the node16 and nodenext module resolution, which was the CommonJS module namespace instead of Handsontable, and added the named type exports to the Handsontable namespace. #13865
  • Fixed the fill handle adding new top-level parents instead of child rows when dragged past the last row of a nested grid. On a nested grid, alter('insert_row_below', <last row index>) now adds a sibling of the last row instead of a new top-level row. #13868
  • Fixed errors thrown by updateSettings(), header rendering, and destroy() after a plugin was destroyed on its own with getPlugin(name).destroy(), and made the fill handle hide and reappear right away when the Autofill plugin is disabled, re-enabled, or destroyed. #13879
  • Hid the fill handle when the selection consists of more than one range (a non-contiguous selection), so a drag can no longer fill from the last range alone and ignore the others. #13880
  • Fixed imeFastEdit not moving the focus into the input of the date, time, intl-date, and intl-datetime editors on Firefox. #13888
  • Fixed the resize handle staying on the dragged edge after an undo, and Ctrl/Cmd+Z not undoing a row or column resize when no cell was clicked first. #13893
  • Fixed a crash when double-clicking a row selection checkbox while a header was selected. #13897
  • Fixed an issue where the pagination bar shrank to the width of the row headers when the grid had no columns to render. #13901
  • Fixed swapping the ColumnSorting and MultiColumnSorting plugins in one updateSettings() call, which turned both plugins off. #13904
  • Fixed checkbox cells storing a pasted or written value that matches a template only by letter case (such as "False") as text instead of the template value, and storing a written "true" or "false" as text in a row that was never rendered, and added an opt-in checkbox validator that marks or rejects values matching neither template. #13910
  • Fixed a flicker of the custom borders on updateSettings() with customBordersProgressive enabled. The previous borders now stay visible until the new ones are applied. #13913
  • Fixed a duplicated mobile selection handle on cells of a frozen column or row. #13915
  • Fixed getDataAtCol(), getDataAtProp(), and spliceCol() reading only as many rows as the source array has when the nestedRows option or a modifySourceLength hook adds rows past it. #13919
  • Fixed a string dataProvider.rowId reading a nested property instead of the row’s own property with a dot in its name, the value the cell shows. dataProvider.rowId now reads the source row itself, so a function key receives that row instead of a copy, and modifySourceData no longer changes the id. #13923
  • Fixed a Ctrl click on a sortable nested header selecting that header twice, and selecting whole columns when a drag moves from a cell into a nested header. #13928
  • Fixed an issue where sorting inside batch() or suspendExecution() on an already sorted grid left the rows in the wrong order. #13930
  • Fixed an issue where object data nested two or more levels deep without the columns option mapped to the wrong property, so the column rendered blank and an edit wrote a new top-level key. #13932
  • Fixed an issue where date and datetime cells with years 0001–0099 rendered, sorted, and filtered as years 1901–1999. #13933
  • Fixed an issue where turning off collapsibleColumns in the same updateSettings() call that adds a nested header level threw an error. #13936
  • Fixed a merged cell in a later selection layer being highlighted darker than the cells around it, and merge()/unmerge() leaving the old highlight. The fullySelectedMergedCell-N suffix now counts the ranges that cover the merge instead of using the range index. A header selection merged via the context menu or Ctrl+M now shows the merged cell as a single focused cell. #13938
  • Fixed the select editor showing another record’s value when its value was refreshed on a sorted, filtered, or moved grid. #13940
  • Fixed pasting into another Handsontable grid bringing back values that beforeCopy or beforeCut masked or removed. #13941
  • Fixed setSourceDataAtCell() ignoring the column-level sourceDataValidator and valueSetter when the cell is addressed by a property name. These writes now apply the column’s valueSetter, its cell type’s value conversion, and its validator. #13942
  • Fixed a bug where the Filters “Filter by value” list showed a “(Blank cells)” item for a grid with no rows. #13945
  • Fixed an issue where saving an edit, or creating or removing rows, while a page change was loading sent the DataProvider grid back to the previous page. #13953
  • Fixed an issue where two writes to the same cell that waited on an asynchronous validator were applied in the order the validators answered, so the older value could overwrite the newer one. The last write to a cell now wins, and a write that a newer one overtook no longer fires afterChange. A validator that corrects a value through setDataAtCell() with a source that does not end in Validator now wins over the change that triggered it, and that change fires no afterChange. #13954
  • Fixed a drag of cells, rows, a column or row border, or the fill handle that was still held when loadData() replaced the data: it is now canceled instead of committed into the new data, and its auto-scroll stops. Also fixed AutoColumnSize measuring the previous data after loadData(), and downloadFileAsync() with the Dialog plugin exporting data loaded after the call: it now rejects instead. #13956
  • Fixed an issue where a change rejected under allowInvalid: false was still written when the validators answered out of order. #13959
  • Fixed selectCells() with changeListener set to false so an input outside the grid keeps focus when the call runs inside batch(), and when an afterSelection hook makes a plain selection call. #13961
  • Fixed the top selection handle on touch devices being clipped by the grid edge when a selection starts in the first row without column headers or in the first column without row headers. #13970
  • Fixed the fill handle of the last column and the last row being covered by an overlay scrollbar (for example, in Firefox on Windows 11) when the grid scrolls inside its own container, which made it impossible to drag. #13972
  • Fixed the top selection handle on touch devices being drawn on the first visible row or column when the range start is scrolled out of view. #13975
  • Fixed an issue where the grid kept stale row, column, and height measurements after a web font finished loading. Added the afterFontsLoad hook. #13977
  • Fixed an issue where column headers and column widths stayed out of step with their columns after an afterCreateCol or afterRemoveCol hook called render(). #13983
  • Fixed formulas that reference a sheet whose name HyperFormula reads only in quotes, such as 2026 or Лист2. The Formulas plugin now also feeds the engine the edits made while the plugin was off. #13985
  • Fixed the afterAsyncValueCancel hook of the AsyncValues plugin, which reported the id of a neighboring row, or null, for a row that was removed or replaced. #13990
  • Fixed ShortcutContext#addShortcut() placing a position: 'before' shortcut one slot too early, so it now runs directly before its relativeToGroup group. Pressing Enter on a collapsible column header with column sorting enabled now always collapses it. #13991
  • Fixed which rows and columns count as fully visible when the grid’s scrollbars differ in size from each other or from the browser default. #14005
  • Fixed the first render computing the visible rows and the scrollbar without the column header. #14013
  • Fixed the comment box on a merged cell spanning several rows so it takes the height of the merged range instead of a fixed 88px. #14016
  • Fixed a merged cell made while rows were trimmed or filtered out, which covered a row it does not own and left its own last row empty once the rows came back. Such a merged cell now spans the removed rows between its rows, so it grows when they return. #14017
  • Fixed an issue where formula cells did not repaint after the HyperFormula engine was changed from outside the grid, for example with setCellContents() on an external or shared engine. To repaint once after several external writes, wrap them in engine.batch(). #14024
  • Fixed AutoColumnSize ignoring the content of merged cells. A merge that spans only rows now widens its column to fit its text, and a merge that spans several columns widens the first column it spans, so columns under long merged text get wider. #14026
  • Fixed the Formulas plugin showing wrong values and formula text after setIndexesSequence() (or a sort with sortEmptyCells: true) put an empty or just-appended row or column ahead of rows or columns that hold content. A reorder the engine cannot take, because it needs more rows or columns than maxRows or maxColumns allow or because it moves a row or column an array formula spans, is now skipped and logs a warning. #14027
  • Fixed a merged cell declared in the mergeCells option so it spans a trimmed or filtered row between its rows once the row comes back, and keeps that span when the same settings are sent again. #14030
  • Fixed the Formulas plugin showing another row’s values, or applying a redo in an outdated order, when an undo or redo restored a step after the rows or columns had been reordered with setIndexesSequence(), which is not an undo step. #14038
  • Fixed a false console warning that a dropdownMenu item key does not match any available menu item, which a list naming Filters items logged although the Filters plugin was on. #14039
  • Fixed a bug where undoing an inserted row or column in the Formulas plugin left empty rows or columns in the formula engine, which made its sheet grow with every insert and undo. #14040
  • Fixed the column dropdown menu opening past the left edge of a narrow viewport, which clipped its first controls. #14048
  • Fixed clearSort() restoring the wrong row order after a row was moved between two sorts or rows were inserted or removed while sorted, a collapsed column group keeping its columns hidden after a new column order split it, and nested headers labeling the wrong columns after an undone column move or a setIndexesSequence() call. #14049
  • Fixed the column dropdown menu and the context menu opening past the edge of a narrow or short viewport, which clipped part of the menu. #14051
  • Fixed the Formulas plugin bringing back formulas that pointed at the wrong rows or columns when an undo reversed a row or column removal, a row or column insert, or a cell move that came after a row or column insert or removal made while the grid was sorted or had moved rows or columns. #14052
  • Fixed the selection’s start and top edges showing only 1px of their 2px next to a frozen or header overlay, on the first visible column and row of a scrolled grid and on the first one after the frozen columns or rows. #14055
  • Fixed clearSort() and sort() throwing after setSortConfig() on a grid that was never sorted or whose sorting plugin was disabled and enabled again. #14057
  • Fixed CustomBorders rebuilding every border on an updateSettings() call whose trimRows value left the trimmed rows unchanged. #14062
  • Fixed plugins leaving UI, options, and loading overlays behind when they are turned off or reconfigured. Search, ColumnSorting, and MultiColumnSorting reset their options to the defaults when true replaces an options object. The loading overlay clears on every way a DataProvider fetch ends. Dialog no longer carries one dialog’s options into the next or hides on a settings re-send, and Loading acts only on its own screen. ColumnSummary no longer adds its previous total on a reload. fixedColumnsLeft and fixedColumnsStart no longer throw across separate updateSettings() calls. The column header row shrinks back after multi-line headers. #14063
  • Fixed an issue where the “Delete comment” context menu item was enabled on a selection without any comment, and the “Read-only comment” item was disabled on a range whose highlighted cell had no comment. #14066
  • Fixed setManualSize() of the ManualColumnResize and ManualRowResize plugins throwing an error when called before the plugin was enabled, and storing a size that isn’t a finite number, such as NaN. #14067
  • Fixed a tapped command in the context menu or the dropdown menu losing the focus it set on a touch screen. #14068
  • Fixed the afterPluginsInitialized hook firing once per plugin when two grids were created before either called init(), and plugins enabling twice on a grid that declares both columnSorting and multiColumnSorting. #14070
  • Fixed Comments#getCommentAtCell(), Comments#getComment(), and Comments#getCommentMeta() throwing Expecting an unsigned number for header coordinates. They now return undefined. #14071
  • Fixed cell selection around merged cells: a selection now always covers every merged cell it touches, a merged cell whose rows a filter or trimRows hides no longer extends the selection over other cells, and an arrow key pressed after Tab or Enter inside a range moves on from the focused cell, not from a merged cell the focus skipped. A selection layer that Tab or Enter leaves keeps its last focused cell, as it does without merged cells. beforeSelectionFocusSet and afterSelectionFocusSet now receive the cell the focus lands on, and global beforeSelectionHighlightSet, modifyTransformStart, and modifyTransformEnd listeners now receive the range or step already adjusted for merged cells, as listeners added through the settings already did. Deprecated getStartMostColumnIndex(), getEndMostColumnIndex(), getTopMostRowIndex(), and getBottomMostRowIndex() of MergedCellsCollection. #14073
  • Fixed dropping a row or column onto its own position reordering the index sequence around a trimmed row or column. The sequence change hooks no longer fire for such a drop. #14074
  • Fixed customBorders storing borders on the wrong records or columns when one updateSettings() call also changed the trimmed rows or the row or column order. The plugin now enables after the plugins that reorder rows and columns. #14076
  • Fixed the link in the console warning about a missing language, which opened a page that does not exist. #14078
  • Fixed an issue where the beforeRowMove and afterRowMove hooks fired when a row header was pressed and released without moving the pointer. #14082
  • Fixed a column header drag that moved or sorted the wrong column when loadData() or the columns option reset the column order during the drag. #14083
  • Fixed the ColumnSummary plugin throwing an error when an endpoint’s ranges option is an empty array. Such an endpoint now summarizes no rows, and a custom function now receives ranges as [] instead of undefined. #14088
  • Fixed the CopyPaste plugin resetting its paste mode and header copy options to their defaults on an update of the fragmentSelection option. #14089
  • Made adding many merged cells at once, and restoring them on a sheet switch, scale linearly with the number of merged cells, except for merged cells over trimmed rows. Fixed warnings and errors that showed a row or column index of 0 as blank. #14099
  • Fixed minSpareCols, minCols, and inserting a column at the end of the grid placing the new null values at inconsistent positions in a row that is longer than the grid, and undo removing the values of such a row. The new columns are now empty, so a value past the grid width no longer shows up in them. #14103
  • Fixed the multi-select editor’s option labels being selectable while dragging in Safari, when Handsontable is loaded from the non-minified handsontable.js or handsontable.css. #14106
  • Fixed updateSettings() emptying a grid backed by a dataProvider when the update sent data, and refetching the rows when it sent the same dataProvider object again. The React and Angular wrappers now pass only the settings that changed, so a render no longer resets the filters or the page. #14110
  • Fixed an issue where a custom border disappeared on the first trim, untrim, or filter after loadData(). #14117
  • Fixed a pending comment opening over new data after loadData(), and the pagination bar in a custom uiContainer ignoring the grid’s colorScheme and density, and NestedRows staying off after it got data that isn’t an array of objects, even once valid data or nestedRows: true came back. The Angular wrapper’s data input now passes 'dataBinding' as the source of beforeUpdateData, afterUpdateData, and afterRowIdsRemoved. #14118
  • Fixed the height and width settings keeping the old size after they changed to undefined in the React and Angular wrappers. #14120
  • Fixed the formula bar opening an edit on the wrong cell after an insert, a removal, or a data load moved records under the selection. #14127
  • Fixed the cell editor staying at its old position when the grid’s size changed during editing, which hid it under the Android soft keyboard in a WebView that resizes its content. The grid now scrolls the edited cell into view and moves the editor onto it. #14130
  • Fixed editor lists, menus, and the Filters value list injecting the core stylesheet when injectCoreCss is set to false. A grid in a shadow root with that setting now needs the core CSS loaded in the document as well, or its menus render unstyled. #14140
  • Fixed a strict autocomplete or dropdown cell replacing its value with another entry when confirmed without changes. Such a confirm now writes nothing, and a cell whose value matches no entry opens with no option highlighted. Also fixed validateCells(), validateRows(), validateColumns(), and undo and redo marking valid key/value autocomplete and dropdown cells and multiselect cells as invalid. #14142
  • Fixed filtering with the nestedRows option: the “Filter by value” list now shows every value in the tree, including rows inside collapsed parents, and a filtered grid keeps the parent rows of matching rows and the child rows of matching parents. Screen readers now count only the rows that a filter or the TrimRows plugin leaves. Added the modifyFiltersMatchedRows hook, which lets you change the rows a filter keeps. #14143
  • Fixed an uncaught error thrown when the grid was destroyed from the callback of validateCells(), validateRows(), validateColumns(), or validateCell(), or from a beforeValidate or afterValidate hook run by those methods or by setDataAtCell(). #14148
  • Fixed the multiselect chip remove button changing the value of a read-only cell or a cell with editor: false. Such cells now draw their chips without the remove button, unless readOnlyStyling is false. #14150
  • Fixed the XLSX export writing wrong colors for custom borders and headerStyle colors given as named, rgb(), or hsl() CSS colors. #14151
  • Fixed an uncaught error thrown when the grid was destroyed from a hook of a cell edit’s save: beforeChange, afterSetDataAtCell, afterSetDataAtRowProp, beforeChangeRender, afterRender, or afterChange of setDataAtCell() or setDataAtRowProp(), or a hook of an editor saved with Enter, Tab, an arrow key, a click on another cell, or a selection method, or of cells emptied with Delete or Backspace. #14167
  • Fixed the grid’s aria-colcount not updating when the number of row headers or columns changed after initialization. #14170
  • Fixed an issue where changing the grid-level type with updateSettings() did not apply the editor, renderer, and validator of the new type. Passing undefined for editor, renderer, or validator now gives the option back to the type, so updateSettings({ validator: undefined }) on a numeric grid keeps the numeric validator instead of leaving none. #14172
  • Fixed an error thrown when a beforeChange, afterChange, afterRender, or undo and redo hook destroys the grid during a paste, cut, copy, undo, or redo. #14173
  • Fixed an issue where cells that were already drawn kept the previous type’s alignment class and templates after changing the grid-level type with updateSettings(), and where the result cells of the columnSummary plugin became editable after an updateSettings() call with cells or cell. #14191
  • Fixed the column menu button and the sort styles staying in the group header row when nestedHeaders added a header row, or when dropdownMenu or columnSorting was turned off in the same update. #14192
  • Fixed an error, or a sort of the new rows, when ColumnSorting was turned off or loadData() ran while a header-click sort waited for a cell validator. #14193
  • Fixed a numeric cell that kept the htRight htNumeric classes after its column or the grid type changed, when its className was set with setCellMeta() or the cell option. #14199
  • Fixed an issue where changing the columns together with the data kept manual column widths, hidden columns, and sorting on the wrong column. #14200
  • Fixed the German (de-DE and de-CH) label of the “Filter by value” section in the filters dropdown menu, which read “Nach Zahlen filtern” (“filter by numbers”). #14202
  • Fixed updateSettings() re-adding the grid’s page-wide event listeners, which made every pointer move and click run Angular change detection when the call was made inside Angular’s zone. #14207
  • Fixed a grey box that appeared outside the grid when a row was moved while all columns were hidden. #14209
  • Fixed DropdownMenu#executeCommand() and ContextMenu#executeCommand() throwing a TypeError for the clear_column command, and corrected the list of commands in their documentation. #14210
  • Fixed row headers drifting away from the rows beside them when a row’s content height is not a whole pixel, for example with a fractional line height. With AutoRowSize, such a row is now stored one pixel taller when its fraction is below one half (getRowHeight() returns 119 for a 118.27px row, not 118). #14211
  • Fixed viewport getters, data getters, getCoords(), getCell(), scrollViewportTo(), setDataAtCell(), updateData(), and the select*() methods throwing a TypeError inside hooks that fire during initialization, such as afterHideColumns, afterHideRows, and the initial afterLoadData. #14212
  • Fixed the grammar of the error messages thrown when a column can’t be created or removed with object data, and when the Filters plugin gets fewer than three conditions in a disjunction with an extra condition. #14213
  • Fixed a bug where custom context menu and column menu items that shared the same string name showed as one row. #14214
  • Fixed year 0000 in date and datetime cells showing the same text as year 0001. The display now adds the era, for example 01/01/1 BC. #14216
  • Fixed an issue where the pagination bar touched the column headers when a grid with a free height (no height option or height: 'auto') had no rows to show, for example after a filter removed every row. The grid now keeps 150 px of empty space in that state, as the emptyDataState plugin does. #14217
  • Fixed the comment box sitting 1px below the top edge of the selection border of its cell. #14218
  • Fixed row headers that were shorter than their rows when autoRowSize met a merged cell whose first row or column is hidden. #14219
  • Fixed the column headers, the pagination bar, and the Filters menu growing when the host page styles bare span or input elements. #14220
  • Fixed formulas showing #REF! or wrong values after an initial manualRowMove or manualColumnMove order, and after a re-render that follows a row or column drag. #14226
  • Fixed an issue where row headers were shorter than their rows after a trim, a filter, or the removal of its first row re-anchored a merged cell with autoRowSize enabled. #14227
  • Fixed the stateBefore argument of the beforeCellAlignment hook so it holds only alignment class names and no longer reports custom class names such as htBlue. #14228
  • Fixed the overlapping hit areas of the collapse button and the dropdown menu button in nested headers. #14229
  • Fixed the first updateSettings() call accepting an init-only option (layoutDirection, renderAllRows, renderAllColumns, ariaTags) that the grid was created without. It now throws, like every later call. #14230
  • Fixed Space not toggling the checkboxes of a column or row selected through its header when navigableHeaders is enabled. #14232
  • Fixed a selection border on the fixedRowsTop or fixedRowsBottom freeze line that stopped short of the fixedColumnsEnd columns. #14235
  • Fixed the fixedColumnsEnd freeze line, which moved by 1px at the end of the horizontal scroll, showed twice where a column lined up with the frozen columns, and cut the selection edge on the first of them. A selection that scrolling lines up with the fixedColumnsStart, fixedColumnsEnd, or fixedRowsTop area now draws its edge on the freeze line, as on any other gridline. #14239
  • Fixed formulas showing a rejected or pending value, the editor closing on another cell’s validation, a header sort running before a pending edit landed, and sorting, moving, pending edits, and sort state on grids built from a HyperFormula sheet, a sort after enabling formulas on a live grid, and updateSettings({ data, formulas }) showing formulas as text. A change to a cell with a validator and allowInvalid: false now reaches HyperFormula after validation, so afterFormulasValuesUpdate fires then, and a reload through updateSettings() of a grid built from a HyperFormula sheet fires afterUpdateData instead of afterLoadData and afterChange with the 'updateData' source instead of 'loadData'. #14243
  • Fixed a merged cell whose text was not measured by AutoRowSize and copied as empty after a row move, a column move, or a column freeze. #14245
  • Fixed the frozen end column drawn off its column when the row header has more than one level, for example with the row selection checkboxes. #14246
  • Fixed an issue where adding a child row through the NestedRows plugin copied the parent’s children to an unrelated top-level row, which left the grid a row short after undo. #14247
  • Fixed a dropdown or context menu taller than the viewport being cut off and unscrollable on touch devices, which now scroll it inside itself. #14248
  • Fixed getCellMeta() reporting spanned, rowspan and colspan on a cell no merge is drawn from after a row move, a column move, or a column freeze. #14253
  • Fixed getCellMeta() reporting a span on a merged cell’s former top-left after a trim or filter was lifted, a move or freeze on a filtered grid, or an undo of a move, and a cell that a row move, a column move, or a column freeze took out of a merge on a filtered grid keeping its hidden flag. #14260
  • Fixed the Filters condition list ending below a short viewport on a desktop page that cannot scroll, so its lower items could not be reached. #14262
  • Fixed the grid’s accessible name in Firefox after a sheet is renamed in the sheets bar: screen readers now read the new name. #14263
  • Fixed the fixedRowsBottom rows shifting one column off their headers after a short horizontal scroll followed by a vertical scroll. #14277
  • Fixed an issue where the validation of formula dependents ran on the wrong cell, or skipped the real one, when rows or columns were trimmed (for example by Filters or trimRows). #14282
  • Fixed an issue where the comment editor lost the keyboard focus in Safari right after “Add comment” or “Edit comment” was chosen from the context menu. #14283
  • Fixed a fill handle partly hidden under the frozen bottom rows after a keyboard move scrolled a row up to them, in a grid with column headers. #14286
  • Fixed plugin markup staying in the header corner after row headers were turned on or the grid was scrolled horizontally. #14287
  • Fixed a validated edit being saved into another column when columns are inserted or removed before its validator answers. A validator correction and a reopened editor now also stay on the edited column after a column move. #14288
  • Fixed an error thrown when a touch tap selected a separator in the filters dropdown menu. #14292
  • Fixed a missing screen reader announcement when a user sorts a column with a header press or the keyboard. The grid now announces the column and its new order. #14296
  • Fixed a bug where a row or column resized by dragging ignored every later rowHeights or colWidths value. Passing either option to updateSettings() now re-declares the sizes and discards the ones stored by manual resizing. To keep the stored sizes, leave the option out of the call, or pass manualRowResize or manualColumnResize as an array. Both resize plugins also gained a clearManualSizes() method, and ManualRowResize gained the clearManualSize() method that ManualColumnResize already had. #4371
  • Fixed minSpareRows repeatedly adding rows, and isEmptyRow() and isEmptyCol() misreporting, when dataSchema sets a default value on a nested property such as { data: 'meta.active' }. #5069
  • Fixed pasting a multi-cell block over a merged cell leaving the merge in place, which stored every pasted value but showed only the top-left one. The destination merge is now removed, as in Excel and Google Sheets, and a single undo restores both the data and the merge. Pasting a single value still leaves the merge intact and writes only its top-left cell. #5092
  • Fixed the freeze_column and unfreeze_column items not working as keys of a custom column (dropdown) menu. #5429
  • Fixed a shortened columns array, sent together with data, rendering and validating a column with the previous column’s settings. #5543
  • Fixed a bug where the cell option was erased when updateSettings() was called with the columns or cells option. Values declared through cell now persist across such calls, and follow their row through sorting and row moves. Passing cell again still replaces every previously declared entry, and a later setCellMeta() call still wins over the declared value. #5661
  • Fixed the mergeCells plugin drawing the grid more times than needed while it initialized. #5687
  • Fixed a bug where a cell holding an empty string counted as the number zero in a column summary, so min, max, count, and average changed when a cell was blank. Such a cell is now skipped, matching a cell cleared with the Delete key. #5905
  • Fixed a bug where the beforeInit hook passed in the settings object never fired. Such callbacks now run, before the grid is fully initialized. #5933
  • Fixed sorting leaving the last rows of a filtered grid unsorted when minSpareRows was set. #5983
  • Fixed a bug where a modifier key stayed stuck in the pressed state after an operating system shortcut consumed its keyup event, so arrow keys added selection layers instead of moving the selection. #6012
  • Fixed the rowHeaderWidth option ignoring values passed as strings. Both rowHeaderWidth and columnHeaderHeight now accept a pixel size written as a string, either as a bare number ('100') or with the unit ('100px'), in the scalar and the per-level array form alike. A value that states no pixel count, such as '50%' or '20em', is ignored in favor of the default size and reported once in the console. #6154
  • Fixed a grid with no height set rendering taller than its own container when the browser zoom or the system display scaling was below 100%, which made the bottom rows overlap the element under the grid and cut off the last row headers. #6280
  • Fixed the grid leaving a blank area under the last rendered row when the rows shrank after a column autosize or a data change, until the next scroll. #6452
  • Fixed the “filter by value” list changing a column’s filter conditions on its own: editing a cell no longer adds the typed value to the conditions, and confirming a list that can’t show every selected value no longer drops the rest. #6471
  • Fixed the first column rendering 1px narrower than the other columns when row headers are enabled, and the row header growing by 1px when the grid was scrolled horizontally. #6673
  • Fixed selectRows(), selectColumns(), and selectAll() to accept an optional changeListener argument, so passing false keeps focus on an input outside the grid. #7383
  • Fixed pasted columns being dropped when the clipboard’s first row held fewer cells than a later row. #7389
  • Fixed a bug where enabling the hiddenRows or hiddenColumns plugin alongside a cell className given as an array stopped the grid from rendering, or merged the array entries into a single invalid CSS class. The afterHiddenRow and afterHiddenColumn markers are now matched as whole class names, so a cell whose own class contains the marker name still gets the marker. #7427
  • Fixed a bug where a cell marked as invalid lost its highlight after updateSettings() was called with the cell, cells, or columns option, while the cell kept the invalid value. This also affected cells still being checked by an asynchronous validator. In React, it happened on every re-render of a grid that has HotColumn children; in Angular, on every change to the settings input. #7553
  • Fixed a bug where re-applying an unchanged mergeCells configuration through updateSettings() cleared the merged-away cells again, firing beforeChange and afterChange for values that did not change. A re-applied merge area now clears only the cells that still hold a value. #7555
  • Fixed merged cells drawing on top of the rows below them after a collapsed nestedRows parent, a filter, or trimRows removed rows from inside the merge. A merged cell now spans only the rows of its own that are still shown, and is restored to its full span once they come back. #7686
  • Fixed a bug where inserting a row next to a nested child row through the nestedRows context menu left cell meta behind: comments, cell classes, and any other stored meta stayed on their old rows instead of moving down with the data. Affected Insert row above, Insert row below, and Insert child row. #7727
  • Fixed the comment tooltip not opening when you hover a commented cell in a grid rendered inside a shadow root. #8624
  • Vue: Fixed @handsontable/vue3 publishing no TypeScript declaration files despite declaring the types field, and exposed HotTableProps from the package’s entry point. #13331
  • Vue: Fixed the Vue 3 wrapper rendering a different default HotTable container id on the server and in the browser, which logged a hydration mismatch warning in Nuxt. The generated id is now unique per instance and set after mounting. #13982
  • Vue: Fixed an unchanged themeName being re-sent to updateSettings() on every reactive change, which slowed each cell edit. #14058
  • Vue: Fixed the Vue 3 wrapper taking back a setting, such as colHeaders, that an app set with updateSettings(). An unchanged prop is no longer sent again after the app replaced its value, so the alter() then updateSettings({ colHeaders }) flow keeps the new headers. #14231
  • Vue: Fixed an issue where a new data array passed to HotTable in the Vue 3 wrapper did not reach the grid. An array built in the template (for example rows.map(...)) now reloads the grid on every render of the parent component, as in the React and Angular wrappers. #14244
  • React: Fixed React custom editors not committing setValue after a click on the editor UI. #13374
  • React: Fixed HotTable throwing “Rendered fewer hooks than expected” when the id prop was added or removed across re-renders. #13609
  • React: Fixed the onOpen callback of useHotEditor and EditorComponent not receiving the event that opened the editor. EditorComponent now calls onOpen after the editor is positioned. #13895
  • React: Fixed the React wrapper turning off on-by-default options, such as copyPaste, when a prop is undefined. An undefined prop now counts as not passed, so the option keeps its default. #13976
  • React: Fixed next build failing with createContext is not a function when a Next.js Server Component imports HotTable. The React wrapper’s ES and CommonJS builds now start with the 'use client' directive. #14008
  • React: Fixed a crash when a Handsontable editor class was passed to the editor prop of HotTable or HotColumn, and a broken editor when an editor name was passed. The editor now applies as if passed to hotEditor, and a console warning points to that prop. #14141
  • React: Fixed a type set on HotTable getting the text editor and renderer instead of the type’s own. Such grids now show that type’s editor and formatting. #14147
  • React: Fixed an EditorComponent editor staying at its old position when the grid resized without scrolling, and staying open but hidden after its cell scrolled out of view. #14149
  • React: Fixed React component-based cell renderers in rows fixed to the bottom (fixedRowsBottom) going blank and losing their state after a vertical scroll. #14153
  • React: Fixed a bug where the editor and hotEditor props did not accept a boolean in the React wrapper. Setting either to false now disables editing on HotTable and on HotColumn (the reported <HotColumn editor={false} /> case keeps working as asked), unless a component is passed to editor or an editor is named in hotEditor, both of which still win. Setting either to true, or to another falsy value such as null, is now treated as if the prop were not provided, so the cell keeps the editor its column type or the grid supplies instead of throwing or locking. The renderer and hotRenderer props are unchanged. #7561
  • React: Fixed a bug where a component-based renderer in a frozen row or column left the cell empty in one of the two tables the grid draws it in, which made the frozen area stop lining up with the rest of the rows. #9063
  • Angular: Fixed a bug where the grid rendered at zero height when the height option was relative (for example '100%') and the <hot-table> sat in a parent with a fixed height, which also showed up as the grid disappearing inside a CSS-transformed ancestor. #13690
  • Angular: Fixed an error logged on every server request when the grid renders on the server, and an error logged on click after the page hydrates. #14007
  • Fixed customBorders edges that were not drawn on the first column and the first row after the frozen ones. #14294
  • Fixed the XLSX export rounding numbers in a column whose numericFormat sets no fraction digits, such as a currency format with no minimumFractionDigits, and the XLSX import rounding numbers under a format with optional fraction digits, such as 0.##. #14376