Extjs Plugins ((link)) -
Better: use mon (monitor) to safely override. Example 1: Row Expander Plugin (Custom Version) Ext.define('MyApp.plugin.RowExpander', extend: 'Ext.plugin.Abstract', alias: 'plugin.rowexpander', config: expandOnDblClick: true ,
destroy: function() if (this.host) this.host.un('someevent', this.handler, this); delete this.host; this.callParent(); extjs plugins
); Ext.define('MyApp.plugin.Clearable', extend: 'Ext.plugin.Abstract', alias: 'plugin.clearable', init: function(field) this.field = field; field.on('afterrender', this.addClearButton, this); , Better: use mon (monitor) to safely override
clearField: function() this.field.setValue(''); this.field.focus(); , config: expandOnDblClick: true