Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:07:13 +0000 (20:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:07:13 +0000 (20:07 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 182c3e4..cb18884 100644 (file)
                                                     "|xns": "Roo.form",
                                                     "xtype": "TextField"
                                                 },
+                                                {
+                                                    "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"
+                                                },
                                                 {
                                                     "text": "Add",
                                                     "xtype": "Button",
index 22e49a4..ad34c57 100644 (file)
@@ -127,6 +127,18 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                         xtype: 'TextField',
                                         xns: Roo.form
                                     },
+                                    {
+                                        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'
+                                    },
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,