Pman.Gnumeric.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 17 Nov 2010 07:08:55 +0000 (15:08 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 17 Nov 2010 07:08:55 +0000 (15:08 +0800)
Pman.Gnumeric.js

index 95bf92c..b03005f 100644 (file)
@@ -166,7 +166,9 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         this.sheet = false;
         this.grid = false;
         this.colInfo = false;
+        this.colInfoDom = false;
         this.rowInfo = false;
+        this.rowInfoDom = false;
         this.cmax = false;
         this.rmax = false;
         
@@ -343,10 +345,12 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         ci = this.sheet.getElementsByTagNameNS('*','RowInfo');
         
         this.rowInfo = {};
+        this.rowInfoDom = {};
         Roo.each(ci, function(c) {
             var count = c.getAttribute('Count') || 1;
             var s =  c.getAttribute('No')*1;
             for(var i =0; i < count; i++) {
+                _t.rowInfoDom[s+i] = c;
                 _t.rowInfo[s+i] = Math.floor(c.getAttribute('Unit')*1);
             }
         });