From: Alan Knowles Date: Wed, 17 Nov 2010 07:08:55 +0000 (+0800) Subject: Pman.Gnumeric.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=fd5d8b8bbe05c1108a449430166858d5d88b4a6d;p=Pman.Core Pman.Gnumeric.js --- diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index 95bf92cf..b03005f0 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -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); } });