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. The code presented here has 2 known issues:
altermethod and the context menu
minSpareRowsdoes not have effect directly after row was added from Backbone (as a workaround, you would need to call
Both issues will be addressed in future versions of HT. Contributions are welcome!