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

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

index 1752b44..14a084d 100644 (file)
                                             "align": "right",
                                             "dataIndex": "curr_rate",
                                             "header": "Rate",
-                                            "width": 75,
+                                            "width": 150,
                                             "xtype": "ColumnModel",
                                             "|renderer": "function(v,x,r) {\n\n     return String.format('{1}1 = {2}{0}', \n        Roo.util.Format.number(v,2),\n        r.data.base_curr_symbol,\n        r.data.curr_id_curr_symbol\n    ); \n    \n}",
                                             "|xns": "Roo.grid"
                                             "header": "Rate",
                                             "width": 150,
                                             "xtype": "ColumnModel",
-                                            "|renderer": "function(v) {    \n     return String.format('{2}1 = {1}{0}', \n        Roo.util.Format.number(1.0/v,2),\n        r.data.base_curr_symbol,\n        r.data.curr_id_curr_symbol\n    ); \n}",
+                                            "|renderer": "function(v,x,r) {    \n     return String.format('{2}1 = {1}{0}', \n        Roo.util.Format.number(1.0/v,2),\n        r.data.base_curr_symbol,\n        r.data.curr_id_curr_symbol\n    ); \n}",
                                             "|xns": "Roo.grid"
                                         }
                                     ]
index 3158585..58fe395 100644 (file)
@@ -353,7 +353,7 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     align : 'right',
                                     dataIndex : 'curr_rate',
                                     header : 'Rate',
-                                    width : 75,
+                                    width : 150,
                                     renderer : function(v,x,r) {
                                     
                                          return String.format('{1}1 = {2}{0}', 
@@ -371,7 +371,7 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     dataIndex : 'curr_rate',
                                     header : 'Rate',
                                     width : 150,
-                                    renderer : function(v) {    
+                                    renderer : function(v,x,r) {    
                                          return String.format('{2}1 = {1}{0}', 
                                             Roo.util.Format.number(1.0/v,2),
                                             r.data.base_curr_symbol,