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

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

index 3d87f89..22b0260 100644 (file)
                                             "|xns": "Roo.grid"
                                         },
                                         {
-                                            "xtype": "ColumnModel",
-                                            "header": "Curr rate",
-                                            "width": 75,
+                                            "*prop": "colModel[]",
                                             "dataIndex": "curr_rate",
+                                            "header": "Rate",
+                                            "width": 75,
+                                            "xtype": "ColumnModel",
                                             "|renderer": "function(v) { return String.format('{0}', v); }",
-                                            "|xns": "Roo.grid",
-                                            "*prop": "colModel[]"
+                                            "|xns": "Roo.grid"
                                         }
                                     ]
                                 }
index ee890e8..f29d5fa 100644 (file)
@@ -326,9 +326,9 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,
-                                    header : 'Curr rate',
-                                    width : 75,
                                     dataIndex : 'curr_rate',
+                                    header : 'Rate',
+                                    width : 75,
                                     renderer : function(v) { return String.format('{0}', v); }
                                 }
                             ]