Pman.Tab.XtupleCurrency.bjs
authorEdward <edward@roojs.com>
Fri, 27 Dec 2013 06:41:00 +0000 (14:41 +0800)
committerEdward <edward@roojs.com>
Fri, 27 Dec 2013 06:41:00 +0000 (14:41 +0800)
Pman.Tab.XtupleCurrency.js

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

index 73b2fd5..aedc76e 100644 (file)
                                     "xtype": "Grid",
                                     "|xns": "Roo.grid",
                                     "items": [
+                                        {
+                                            "|xns": "Roo",
+                                            "xtype": "Toolbar",
+                                            "*prop": "toolbar"
+                                        },
                                         {
                                             "listeners": {
                                                 "beforeload": "function (_self, options)\n{\n    var s = _this.grid.selModel.getSelected();\n    if (!s) { \n        this.removeAll();\n        return false;\n    }\n    options.params.curr_id = s.data.curr_id;\n    options.params._with_base_symbol  = 1;\n}"
index a1802d8..34471c9 100644 (file)
@@ -249,6 +249,10 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                             },
                             autoExpandColumn : 'curr_rate',
                             loadMask : true,
+                            toolbar : {
+                                xtype: 'Toolbar',
+                                xns: Roo
+                            },
                             dataSource : {
                                 xtype: 'Store',
                                 xns: Roo.data,