Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:43:11 +0000 (18:43 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:43:11 +0000 (18:43 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index 40c531e..24ecf88 100644 (file)
                                             "*prop": "colModel[]"
                                         },
                                         {
-                                            "xtype": "ColumnModel",
-                                            "header": "Curr effective",
-                                            "width": 75,
+                                            "*prop": "colModel[]",
                                             "dataIndex": "curr_effective",
+                                            "header": "From",
+                                            "width": 75,
+                                            "xtype": "ColumnModel",
                                             "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
-                                            "|xns": "Roo.grid",
-                                            "*prop": "colModel[]"
+                                            "|xns": "Roo.grid"
                                         },
                                         {
                                             "xtype": "ColumnModel",
index bb3564f..48140d3 100644 (file)
@@ -318,9 +318,9 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,
-                                    header : 'Curr effective',
-                                    width : 75,
                                     dataIndex : 'curr_effective',
+                                    header : 'From',
+                                    width : 75,
                                     renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
                                 },
                                 {