Pman.Gnumeric.js
[Pman.Core] / Pman.Gnumeric.js
index 610bdc1..fcc8cab 100644 (file)
@@ -1383,6 +1383,27 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
                 
                 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,
                     'overflow:hidden;' +