Pman.Gnumeric.js
[Pman.Core] / Pman.Gnumeric.js
index 5ff6baf..03b5d6d 100644 (file)
@@ -1381,7 +1381,28 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
                 if (typeof(g.cls) =='undefined') g.cls = [];
                 var w= calcWidth(c,g.colspan);
                 
-                var value =  g.value;
+                var value = g.value[0] == '=' ? 'CALCULATED' : g.value;
+                
+//                if(
+//                        typeof(g.styles.firstElementChild.attributes) != 'undefined' && 
+//                        typeof(g.styles.firstElementChild.attributes[12])
+//                ){
+//                    
+//                }
+                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,