Skip to content

Commit

Permalink
ColumnSet: Adjust scroll position for newly-inserted rows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth G. Franqueiro committed Nov 21, 2014
1 parent 743b205 commit c54e2fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ColumnSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ define([
}
return row;
},

renderArray: function () {
var rows = this.inherited(arguments);

Expand All @@ -223,6 +224,12 @@ define([
return rows;
},

insertRow: function (object) {
var row = this.inherited(arguments);
adjustScrollLeft(this, row);
return row;
},

renderHeader: function () {
// summary:
// Setup the headers for the grid
Expand Down

0 comments on commit c54e2fc

Please sign in to comment.