Pman.Tab.AdminContacts.js
"xtype": "Button",
"|xns": "Roo.Toolbar"
},
+ {
+ "listeners": {
+ "toggle": "function (_self, pressed)\n{\n _this.grid.footer.onClick('first');\n this.setText(pressed ? \"Show Company\" : \"Show No Company\");\n \n \n}",
+ "render": "function (_self)\n{\n _this.active_company_button = _self;\n}"
+ },
+ "enableToggle": true,
+ "text": "Show No Company",
+ "xtype": "Button",
+ "|xns": "Roo.Toolbar"
+ },
{
"|xns": "Roo.Toolbar",
"xtype": "Fill"
this.setText(pressed ? "Show Company" : "Show No Company");
+ },
+ render : function (_self)
+ {
+ _this.active_company_button = _self;
+ }
+ },
+ enableToggle : true,
+ text : "Show No Company"
+ },
+ {
+ 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)
{