Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Thu, 11 Apr 2019 06:59:32 +0000 (14:59 +0800)
committerEdward <edward@roojs.com>
Thu, 11 Apr 2019 06:59:32 +0000 (14:59 +0800)
Pman.Gnumeric.js

index 4305237..b2529b2 100644 (file)
@@ -1230,8 +1230,8 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         if (typeof(this.grid[row]) == 'undefined') {
             this.grid[row] = [];
         }
-        if (typeof(this.grid[row][startCol]) == 'undefined') {
-            this.createCell(row,startCol);
+        if (typeof(this.grid[row][col]) == 'undefined') {
+            this.createCell(row,col);
         }
         
         this.grid[row][col].value=  data;