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

index fda7d91..5a7aa6f 100644 (file)
@@ -1284,8 +1284,8 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         if (typeof(this.grid[startRow]) == 'undefined') {
             this.grid[startRow] = [];
         }
-        if (typeof(this.grid[startRow][cs.c]) == 'undefined') {
-            this.createCell(startRow,cs.c);
+        if (typeof(this.grid[startRow][startCol]) == 'undefined') {
+            this.createCell(startRow,startCol);
         }
         
 //        this.grid[cs.r][cs.c].value=  v;