projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5766a48
)
Pman.Gnumeric.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 07:08:55 +0000
(15:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 07:08:55 +0000
(15:08 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
95bf92c
..
b03005f
100644
(file)
--- 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.sheet = false;
this.grid = false;
this.colInfo = false;
+ this.colInfoDom = false;
this.rowInfo = false;
this.rowInfo = false;
+ this.rowInfoDom = false;
this.cmax = false;
this.rmax = 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 = {};
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++) {
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);
}
});
_t.rowInfo[s+i] = Math.floor(c.getAttribute('Unit')*1);
}
});