tirams
24 Apr 2007, 3:23 PM
I have a grid that is in a div that is hidden via style display:none and when the div is then shown the grid height is 0 it doesn't render or get updated layout. I'm not able to use visibility style (as I found mentioned in another post) because it effects flow and I get a gap where the div would be.
Is there a workaround for this, some javascript that will make it recalculate? if I resize the window the grid does redraw correctly.
I've tried setting and restoring the display property, tried Ext's fixdisplay but no luck. Any insight is appreciated.
Is there a workaround for this, some javascript that will make it recalculate? if I resize the window the grid does redraw correctly.
I've tried setting and restoring the display property, tried Ext's fixdisplay but no luck. Any insight is appreciated.