Skip to content

Commit

Permalink
Fixed manualColumnMove test
Browse files Browse the repository at this point in the history
  • Loading branch information
psmolenski committed Nov 18, 2013
1 parent 6c12c9e commit ea94ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -1314,7 +1314,7 @@ Handsontable.Core = function (rootElement, userSettings) {
changes.splice(i, 1);
}
else {
var row = datamap.propToCol(changes[i][0]);
var row = changes[i][0];
var col = datamap.propToCol(changes[i][1]);
var logicalCol = instance.runHooksAndReturn('modifyCol', col); //column order may have changes, so we need to translate physical col index (stored in datasource) to logical (displayed to user)
var cellProperties = instance.getCellMeta(row, logicalCol);
Expand Down

0 comments on commit ea94ac2

Please sign in to comment.