Backbone.js is a client-side MV* framework that can do some pretty smart things with data going to and coming back from a server, and has a great event model for keeping multiple views in sync.
This little example shows how Backbone Models and Collections can
work with Handsontable. Below, you'll see events firing from
changes in the
CarCollection by Handsontable or
Please note that Backbone integration is a work in progress since Handsontable 0.8.14 and it's not fully supported yet. The code presented here has 3 known issues:
- Inserting and removing rows or columns triggers errors, both when using
altermethod and the context menu,
minSpareRowsdoes not have effect directly after row was added from Backbone (as a workaround, you would need to call
- Doesn't work with some plugins which manipulates data like Filtering and Sorting.