Closed pierre-duchesne closed 11 years ago
I prefer to wait for a Backbone release before updating Backbone.Datagrid. In the meantime, this patch should fix the problem:
var Datagrid = Backbone.View.extend({
- initialize: function() {
+ initialize: function(options) {
+ this.options = options;
this.columns = this.options.columns;
Thanks for reporting.
I'have the same problem, but I need to patch other parts of the code to solve the problem; here https://gist.github.com/joeyramone76/5736346 my patched code.
"this.options" is no more available in a view by default.
Please look at https://github.com/resthub/resthub-backbone-stack/issues/124