
Declare a table’s width/height using relative values (%, vh, vw, rem, em).
Features
- Handsontable is the new name for Handsontable Pro.
- Added the beforeTrimRows and beforeUntrimRows hooks and modified the argument list for the existing ones in the Trim Rows plugin.
- Removed the deprecated selectCellByProp method.
- Added hooks to the Hidden Rows and Hidden Columns plugins and added validation of the provided rows.
- No longer supports Bower. To install Handsontable, use npm or CDN instead.
- Refactored the following classes to ES6:
- BaseEditor
- AutocompleteEditor
- HandsontableEditor
- SelectEditor
- TextEditor
- Walkontable -> Event
- EditorManager
- MultiMap (removed)
- TableView
- DataMap
- Added the ability to declare the table’s width/height using relative values (%, vh, vw, rem, em).
- Added support for creating a Handsontable instance inside an iframe when the instance is initialized outside of it.
- Extended the Hidden Rows plugin’s hooks argument list.
- Updated the hot-formula-parser package in package.json.
- Updated the documentation for the setSortConfig method of the Column Sorting plugin.
- Rewrote the TypeScript definition file so it would match the actual structure of the library more precisely.
Fixes
- Fixed a problem where inserting a new row didn’t update the Trim Rows plugin properly.
- Fixed a problem where removing a row didn’t update the Trim Rows plugin properly.
- Fixed a bug where the getCell method returned undefined in some specific cases.
- Fixed a bug where an asynchronous validator would throw an exception when run after the table had been destroyed.
- Fixed a bug where an input defined in the headers would lose focus right after clicking on it.
- Fixed a bug where using preventOverflow would cause the editor offset to be incorrect when scrolling vertically.
- Fixed a bug where selecting a mixed merged/non-merged section would cause improper results.
- Fixed a problem where the Handsontable class export differed between UMD and other environments.
- Fixed a bug where disabling colHeaders using updateSettings would not work properly.
- Fixed a bug where the changes cancelled using the beforeChange hook were still validated.
- Fixed a problem where passing an Array as a cell value would cause the populateFromArray method to fail.
- Fixed a problem where resizing the table would not trigger the rendering process.
- Fixed a memory leak in the Context Menu plugin.
- Fixed a problem where it was impossible to add cell comments due to the editor closing too early.
- Fixed a bug where the Trim Rows plugin passed an unwanted value from the beforeCreateRow hook callback.
- Fixed a problem with the context menu displaying an empty box when no available menu items were provided.