Apr 13, 2009, 10:49 AM
Change Tab title
Hi,
I have too much questions last time :)
Next one.. I can't change Tab panel title.
Here is a simple code.. *Title property was changed.. but Tab still displays old caption.. which written in the initalConfig.title
* function selectpage(tabPanel,id, pagenumber)
* {
* var tab = tabPanel.getComponent(id);
* if (tab)*
* {
* var lcTitle = 'Document # ' + id + ' (Seite '+pagenumber+')';
* tabPanel.setActiveTab(tab);
* tab.title = lcTitle;
* var url = 'AnotoDocumentViewer.aspx?documentid='+id+'&pageid='+pagenumber+'&clientid=1';
* tab.load(url);
* }
* }
*Thanks!