- {
- 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,
- listeners : {
- click : function (_self, e)
- {
- _this.searchBox.setValue('');
- _this.grid.footer.onClick('first');
- }
- },
- cls : 'x-btn-icon',
- icon : rootURL + '/Pman/templates/images/edit-clear.gif'
- },
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- listeners : {
- toggle : function (_self, pressed)
- {
- _this.grid.footer.onClick('first');
- this.setText(pressed ? "Show Active" : "Show Removed");
-
-
- },
- render : function (_self)
- {
- _this.activeButton = _self;
- }
- },
- enableToggle : true,
- text : "Show Removed"
- },
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- listeners : {
- toggle : function (_self, pressed)
- {
- _this.grid.footer.onClick('first');
- this.setText(pressed ? "Show Company" : "Show No Company");
-
-
- },
- render : function (_self)
- {
- _this.active_company_button = _self;
- }
- },
- enableToggle : true,
- text : "Show No Company"
- },