Improvements to API and important bug fixes – Handsontable Pro 1.11.0-beta2 (CE 0.32.0-beta2)

Aleksandra Budnik Release Notes / May 24, 2017

Improvements to API and important bug fixes – Handsontable Pro 1.11.0-beta2 (CE 0.32.0-beta2)

Today we have released Handsontable PRO 1.11.0-beta2 (Community Edition: 0.32.0-beta2). This version comes with one backward-incompatible change so make sure your code is adjusted before updating the spreadsheet.

Breaking changes:

  • Changed the way in which custom cell types are being registered (#4254).

As you already know from beta1 release, we have migrated from Traceur to Babel. That required from us to standarize the code, namely to stop using a Handsontable global variable. But that changed the way of adding custom editors, validators, renderers and their combinations like ‘cell types’. In this beta2 release we improve the public API to give developers an ability to register cell behaviors and types separately. We strongly recommend to use a registered alias in Handsontable settings to increase the code maintainability.

An example on how to add a custom editor/renderer/validator:

Handsontable.cellTypes.registerCellType('my-custom-select', {
  editor: MyCustomSelectEditor,
  renderer: MyCustomSelectRenderer,
  validator: MyCustomSelectValidator,

Handsontable.validators.registerValidator('credit-card', function(query, callback) {
  callback(/* passed `true` or `false` depending on a query value */);

new Handsontable(document.getElementById('element'), {
  data: data,
  columns: [{
    data: 'id',
    type: 'my-custom-select'
  }, {
    data: 'name',
    renderer: 'my-custom-select'
  }, {
    data: 'cardNumber',
    validator: 'credit-card'


  • Fixed a wrong variable in a listener of the mouse wheel event (#4255).
  • Fixed an issue related to defining a cell metadata for non-existing cells (#4024).

You want to be up-to-date with all our updates? You will always find fresh updates on our Twitter profile.

We appreciate all Github issues and emails which helped us fix issues in the current release. Leave a comment or contact us to help us make Handsontable even better.