Skip to content

Commit

Permalink
Offset row and column when obtaining by id
Browse files Browse the repository at this point in the history
  • Loading branch information
robertleeplummerjr committed Apr 27, 2015
1 parent f3d4423 commit 74e184a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Sheet/JSONLoader.js
Expand Up @@ -332,8 +332,8 @@
this.cellIds[column['id']] = {
cell: column,
sheetIndex: sheetIndex,
rowIndex: rowIndex,
columnIndex: columnIndex,
rowIndex: rowIndex + 1,
columnIndex: columnIndex + 1,
requestCell: function() {
return loader.jitCell(this.sheetIndex, this.rowIndex, this.columnIndex);
}
Expand Down
4 changes: 2 additions & 2 deletions jquery.sheet.js
Expand Up @@ -3150,8 +3150,8 @@ Sheet.StyleUpdater = (function(document) {
this.cellIds[column['id']] = {
cell: column,
sheetIndex: sheetIndex,
rowIndex: rowIndex,
columnIndex: columnIndex,
rowIndex: rowIndex + 1,
columnIndex: columnIndex + 1,
requestCell: function() {
return loader.jitCell(this.sheetIndex, this.rowIndex, this.columnIndex);
}
Expand Down
2 changes: 1 addition & 1 deletion jquery.sheet.min.js

Large diffs are not rendered by default.

0 comments on commit 74e184a

Please sign in to comment.