extjs - How to override plugins? -
Actually, I want to override the 'Ext.ux.TabCloseMenu' plugin. I am planning to add more localization to this component, because it has not been done by default, I try to override it like this:
Ext.define ( 'CustomTabCloseMenu', {extension: 'Ext.ux.TabCloseMenu', nickname: 'plugin.customtabclosemenu', ...}); And in this way I add this plugin to a tablet:
... plugins: [Ext.create ('CustomTabCloseMenu', {} )] ... but it is not working.
have you tried
plugins: 'customtabclosemenu' or
plugins: {xclass: 'CustomTabCloseMenu'} ?
Comments
Post a Comment