-
Unanswered: How do I change the title of an item in a Ext.tab.panel (Sencha Architect)
Unanswered: How do I change the title of an item in a Ext.tab.panel (Sencha Architect)
I have a pannels with some items,
I m trying to change the title of those items when the users change language.
but I cannot find any setTitle or setText function
Ext.getCmp('my Ext.dataview.List item in my tab panel').setText('hello'); is not working
alternatively,
it would be nice to use variables anme to set titles of items when they are created, but I can't find a way to do this
-
change tabPannel Title
change tabPannel Title
Found the solution here :
http://www.sencha.com/forum/archive/...t-211614.html?
->
Ext.getCmp('myTabPanel').items.items[0].tab.config.title = 'hello'
console.log(Ext.getCmp('myTabPanelItem').tab.setTitle('hello'));
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us