PDA

View Full Version : [OPEN]Ext.Action - setText method don't works



oaugustus
4 Mar 2011, 5:43 AM
I have created an Ext.Action object like it:



this.userAction = Ext.create('Ext.Action', {
scope: this,
handleMouseEvents: false
});


and added it in a Toolbar. When I try change its text with:



this.userAction.setText('New text');


The action text don't change. But if I change "Ext.Action" to an "Ext.button.Button" the same code works.

Thanks.