Hybrid View
-
27 Nov 2012 8:08 AM #1
Unanswered: grouptabpanel
Unanswered: grouptabpanel
Hi all,
I have a grouptabpanel.
After layout I modify a div contained in the title of the grouptabpanel
with this :Code:title: '<div id="mainMenu_title_cmd" style="height: 87px;"> <div id="MENUNAV_cmd"><div id="badgecmd" class="badge"><div id="badgecmd_nb">' + badgecmd_nb + '</div></div><img id="MENUNAV_img_cmd" src="images/cmdSelected.png"></div></div>',
That's work fine.Code:example: var badgecmd_nb = 10; Ext.get("badgecmd_nb").setHTML(badgecmd_nb);
But When I click on another grouptab, the grouptab menu is reseted. and the initial value (0) is restored to badgecmd_nb div.
How to break this refresh and do it only if necessary?
ThanksTamditi Karim
-
27 Nov 2012 1:59 PM #2Sencha - Ext JS Dev Team
- Join Date
- Mar 2007
- Location
- Notts/Redwood City
- Posts
- 30,458
- Vote Rating
- 20
- Answers
- 9
This should not happen in 4.2 GroupTabPanel has been refactored.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
28 Nov 2012 12:14 AM #3
Thanks for your response,
I will try with 4.2 ...Tamditi Karim


Reply With Quote