PDA

View Full Version : the buttons in Buttongoup not render when parent panel lazy show?



arron
13 Dec 2009, 6:14 PM
the buttons in Buttongoup not render when parent panel lazy show?
in the toolbar examples ,if you change the html to:


<input type="button" value="show" onclick="Ext.get('pdiv').show()" ></input>
<div id="pdiv" style="display:none"><div id="docbody" ></div></div>


the panel with buttongroup toolbar renderTo 'docbody'; click the show button,the buttons don't render,can any one help me?

CrazyEnigma
13 Dec 2009, 10:27 PM
Umm, you are trying access a div that doesn't didn't have Ext JS render anything to. Therefore, when you tried to show the pdiv, it did nothing.

Did you look in Firebug if docbody did in fact render?

arron
14 Dec 2009, 7:02 PM
I download the 3.0.3, no problem when update to 3.0.3
thanks