Pman.Gnumeric.js
authorAlan Knowles <alan@roojs.com>
Tue, 21 Apr 2015 06:10:17 +0000 (14:10 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 Apr 2015 06:10:17 +0000 (14:10 +0800)
Pman.Gnumeric.js

index c1a1d56..e2ea59a 100644 (file)
@@ -550,7 +550,10 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
             //return;
         }
         this.grid[cs.r][cs.c].value=  v;
-        this.grid[cs.r][cs.c].dom.textContent=  v;
+        if (this.grid[cs.r][cs.c].dom) {
+            this.grid[cs.r][cs.c].dom.textContent=  v;
+        }
+        
         
         if (typeof(vt) != 'undefined') {
             this.grid[cs.r][cs.c].valueType = vt;