Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xdenser committed Jan 31, 2013
1 parent 759b317 commit c2770b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/classes/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ window.kg.Grid = function (options) {
//self vars
self.config = $.extend(defaults, options);
self.config.columnDefs = ko.utils.unwrapObservable(options.columnDefs);
if(self.config.columnDefs) self.config.columnDefs = self.config.columnDefs.slice(0,self.config.columnDefs.length);
self.gridId = "ng" + window.kg.utils.newId();
self.$root = null; //this is the root element that is passed in with the binding handler
self.$groupPanel = null;
Expand Down Expand Up @@ -513,4 +514,4 @@ window.kg.Grid = function (options) {
});
//call init
self.init();
};
};

0 comments on commit c2770b4

Please sign in to comment.