Subgrid height problem

Hi,

I m facing a problem, In my case my subgrid is populated dynamically.but my parentGrid not increases its height to adjust the complete subGrid , only header of child grid displays.



When I collapse it and expand it again then my parentGrid resizes itself and display full subgrid (actually this time my subgrid was populated).

What I should do To increase the height of Parent grid when the user expand it First time.





Regards


You should set enableAutoHeight(true) to the parent grid and add following code to the parent grid init:


mygrid.attachEvent(“onSubGridLoaded”,function(){
mygrid.setSizes();
});