Pman.Tab.XtupleMetric.bjs
authorEdward <edward@roojs.com>
Tue, 5 Aug 2014 05:19:50 +0000 (13:19 +0800)
committerEdward <edward@roojs.com>
Tue, 5 Aug 2014 05:19:50 +0000 (13:19 +0800)
Pman.Tab.XtupleMetric.js

Pman.Tab.XtupleMetric.bjs
Pman.Tab.XtupleMetric.js

index be34ec8..a0c5952 100644 (file)
                                     },
                                     "xtype": "TextField",
                                     "|xns": "Roo.form"
+                                },
+                                {
+                                    "listeners": {
+                                        "click": "function (_self, e)\n{\n    _this.grid.footer.onClick('first');\n}"
+                                    },
+                                    "cls": "x-btn-icon",
+                                    "xtype": "Button",
+                                    "|icon": "rootURL + '/Pman/templates/images/search.gif'",
+                                    "|xns": "Roo.Toolbar"
                                 }
                             ]
                         },
index 5c8fd67..1d61204 100644 (file)
@@ -125,6 +125,18 @@ Pman.Tab.XtupleMetric = new Roo.XComponent({
                                     _this.searchBox = _self;
                                 }
                             }
+                        },
+                        {
+                            xtype: 'Button',
+                            xns: Roo.Toolbar,
+                            listeners : {
+                                click : function (_self, e)
+                                {
+                                    _this.grid.footer.onClick('first');
+                                }
+                            },
+                            cls : 'x-btn-icon',
+                            icon : rootURL + '/Pman/templates/images/search.gif'
                         }
                     ]
                 },