qiuyl
2 Dec 2006, 12:40 AM
I want to change a tabpanel's title (the text of a tab title) on the fly but failed. How can I do it quickly?
var activatedTab = tabs.getActiveTab();
activatedTab.text = 'title changed'; //no error but does not change
activatedTab.title = 'title changed'; //no error but does not change
I want to dynamicly update how many items (a grid loaded from database) in a tab. I want to have tab titles as
tab1-flowers (45 items) tab2-cloth (55 items) ......
Thank you!
var activatedTab = tabs.getActiveTab();
activatedTab.text = 'title changed'; //no error but does not change
activatedTab.title = 'title changed'; //no error but does not change
I want to dynamicly update how many items (a grid loaded from database) in a tab. I want to have tab titles as
tab1-flowers (45 items) tab2-cloth (55 items) ......
Thank you!