Migrating from 9.0 to 10.0
Migrate from Handsontable 9.0 to Handsontable 10.0, released on September 29, 2021.
More information about this release can be found in the 10.0.0 release blog post.
For a detailed list of changes in this release, see the Changelog.
Rename your Handsontable hooks
If you use the
beforeRenderorafterRenderHandsontable hooks, update their names in your app (#8632).There are still Handsontable hooks that are named
beforeRenderandafterRender, but they do completely new things now. For more details, see the Handsontable 10.0 API reference:Adapt to the HyperFormula dependency update
In Handsontable 10.0.0, we updated the optional HyperFormula dependency from
0.6.2to^1.1.0(#8669).For more details on the breaking changes between HyperFormula 0.6.x and HyperFormula 1.0.x, see the migration guide.
Adapt to the configuration options’ new default values
In Handsontable 10.0.0, we changed the default values of the
autoWrapColandautoWrapRowconfiguration options, fromtruetofalse(#8662):We also changed the default values for the
rowsLimitandcolumnsLimitoptions of theCopyPasteplugin, from1000toInfinity(#8676):Adapt to the Handsontable hooks changes
In Handsontable 10.0, we unified the naming of an argument used by the
beforeOnCellMouseDownandbeforeOnCellMouseOverHandsontable hooks (#8591):Handsontable hook Before After beforeOnCellMouseDownblockCalculationscontrollerbeforeOnCellMouseOverblockCalculationscontrollerIn both cases, the renamed
controllerobject now has acellproperty, instead of acellsproperty:blockCalculations(before)controller(after)rowcolumncellsrowcolumncellThis change affects the following plugins:
For more details, see this PR.
Adapt to the font changes
To make Handsontable look good right out of the box, we added default
font-family,font size,font weight, andcolorproperties for all elements within the.handsontableCSS class (#8681). If you’re not overwriting these properties in your app, this change will affect your grid’s font.