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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -