extjsoverriding

Extjs: Override pivot.plugin.configurator setting's field


I'm trying to override the pivot.plugin.configurator so i can change the Setting's texts, i already override the language of the configurator itself doing:

    override: 'Ext.pivot.plugin.configurator.Panel',
    panelAllFieldsTitle:'Todos os Campos',
    panelAggFieldsTitle:'Valores',
    panelTopFieldsTitle:'Colunas',

But i can't find a way to change the texts of the Settings (when the user click on the cog in the configurator)


Solution

  • You need to override the title config of the Ext.pivot.plugin.configurator.window.Settings class in order to achieve this.

    EDIT

    It seems that title does not get overridden like so, although other configs do. One workaround is to override the initComponent method and set the title there:

    initComponent() {
        this.callParent();
        this.setTitle('DESIRED TITLE');
    },