npm handsontable 0.37.0

latest releases: 0.0.0-next-78c52c0-20240515, 0.0.0-next-f0b9f34-20240515, 0.0.0-next-c2f1254-20240515...
6 years ago

Breaking changes

  • The Merge Cells plugin has been rewritten to ES6 and completely refactored. Before 0.37.0 (1.17.0 with Handsontable Pro) the plugin was accessible from the mergeCells property in the main instance. After the refactor, you can access it just like every other plugin, which is with hot.getPlugin('mergeCells'). (#4214, #4858, #4870)
Pre-0.37.0 Post-0.37.0
hot.mergeCells hot.getPlugin('mergeCells')
hot.mergeCells.mergedCellInfoCollection hot.getPlugin('mergeCells').mergedCellsCollection.mergedCells

This update introduces new API (more information in the documentation) and four new hooks:

  • beforeMergeCells
  • afterMergeCells
  • beforeUnmergeCells
  • afterUnmergeCells
  • The merged cells are now cleared (filled with nulls). The only value that remains, is the top-left corner cell's value, which is the visible one. (#2958)

Changes

  • Fixed a problem with opening the context menu on non-contiguous selections. (#4816)
  • Fixed a problem with removing rows using the non-contiguous selection feature. (#4815)
  • Fixed a problem with the cell background color being overwritten by the selection. (#4812)
  • Fixed an issue, where selection did not color the cells properly on IE. (#4806)
  • Added the Japanese (ja-JP) language pack. (#4756)
  • Added the Portuguese (for Brazil, pt-BR) language pack. (#4763)
  • Fixed a bug, where pressing the ENTER key inside the editor of a merged cell sometimes threw an error. (#3949)
  • Added the autofill functionality for merged cells (used to crash the table). (#4035)
  • Fixed a problem, where merging already merged cells was broken. (#4138, #1722)
  • Fixed a bug, where the fill handle was gone after merging cells. (#4040)
  • Fixed a problem, where there was no way to enter multiline content into a merged cell. (#2898)
  • Fixed a bug, where the validation was broken for merged cells. (#3903, #3342)
  • It is now possible to select an entire column, going "through" a merged cell. (#4022)
  • Fixed a problem, there was a possibility to declare overlapping merged cells, which caused multiple issues. (#2590)
  • Fixed multiple problems with keyboard selection of the merged cells. (#1635)

The corresponding Handsontable Pro version is 1.17.0

Don't miss a new handsontable release

NewReleases is sending notifications on new releases.