Handsontable 16.0.0 is now available, featuring an entirely rewritten Angular wrapper, a new textEllipsis option, numerous under-the-hood improvements, and a DOM structure change for better accessibility.
To make your upgrade as smooth as possible, we’ve prepared a detailed migration guide.
New Wrapper for Angular
Version 16.0 introduces an entirely rewritten Angular wrapper for Handsontable, created to align with Angular’s latest architectural standards and offer an improved developer experience. If you’re working with Angular 16 or above, we recommend upgrading to the new wrapper to take advantage of improvements such as more idiomatic usage, easier maintenance, and better integration with Angular’s change-detection system.
Here’s why the new Angular wrapper is worth the switch:
The new wrapper is available as the @handsontable/angular-wrapper npm package and introduces significant API changes compared to the old @handsontable/angular package. We’ve done our best to clearly explain those changes in the migration guide to simplify your upgrade process. You’ll also find a new Angular section in our documentation with updated examples and guidance.
Please note that the old Angular wrapper @handsontable/angular is officially deprecated as of version 16 and will be removed in version 17.
New textEllipsis Feature
We’ve introduced a new built-in feature textEllipsis that helps keep your table layout clean and readable, even when some cells contain large amounts of text.
When textEllipsis is enabled, cells that have more content than can fit within their current width will automatically display an ellipsis (...) instead of overflowing text. This visual cue indicates there’s more content without disrupting the structure of your table.
This feature is available out of the box and can be enabled with a simple setting: textEllipsis as true.
You can apply it:
Second-Click Deselects Cells
You can now select multiple single cells, then hold Ctrl/Cmd and click any selected cell individually to remove it from the selection.
Previously, this behavior required custom implementation. Now, it’s available natively and enabled by default for all users.
Updated DOM Structure
We’ve modified the underlying DOM to improve screen reader support and ensure capacity for future features, such as a pagination bar. The structural change consists of an extra <div> that entails the entire data grid.
Here’s what the new structure looks like:
Additional Changes
In this release, we also tackled a handful of browser-specific issues. We removed the horizontal scrollbar that appeared in the dropdown editor on Windows when using fractional display scaling. In Safari, we fixed styling inconsistencies with scrollbars to ensure a uniform UI across browsers.
You’ll also benefit from improved filter behavior. Adding a new column during an active filter session now updates the filter correctly, avoiding inconsistent results.
Release Notes
Added
Changed
Fixed
If you have any questions regarding this update, use one of the following support channels:
© Copyright 2000-2023 COGITO SOFTWARE CO.,LTD. All rights reserved