Pman.Gnumeric.js
[Pman.Core] / Pman.Gnumeric.js
index 2830149..d75f54c 100644 (file)
@@ -1389,9 +1389,20 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
 //                ){
 //                    
 //                }
-                for (var i = 0; i <= g.styles.firstElementChild.attributes.length; i++){
-                    Roo.log(g.styles.firstElementChild.attributes[i]);
+                if(value == '01/Jan/2014'){
+                    Roo.log(g.styles[0].firstElementChild.attributes[12].value);
+                    Roo.log(value);
+                    Roo.log(typeof(value));
+                    Roo.log(typeof(g.styles[0].firstElementChild.attributes[12].value));
                 }
+                if(
+                        typeof(g.styles[0].firstElementChild.attributes[12].value) != 'undefined' && 
+                        g.styles[0].firstElementChild.attributes[12].value == 'D\-MMM\-YYYY;@'
+                ){
+                    Roo.log(value);
+                    value = 'test';
+                }
+                
                 
                 out+=String.format('<td colspan="{0}" rowspan="{1}"  class="{4}"><div style="{3}">{2}</div></td>', 
                     g.colspan, g.rowspan, value,