Pman.Gnumeric.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 08:50:59 +0000 (16:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 08:50:59 +0000 (16:50 +0800)
Pman.Gnumeric.js

index 9b7167d..0ae8635 100644 (file)
@@ -544,6 +544,16 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         nc.setAttribute('Col', c);
         nc.setAttribute('ValueType', '60');
         nc.textContent = '';
+        
+        this.grid[r][c] = Roo.applyIf({
+            valueType : '60',
+            valueFormat : '',
+            value : '',
+            dom: nc,
+            r: r,
+            c: c
+            }, _t.defaultCell);
+        
         return nc;
 
     },