PDA

View Full Version : Need to get rid of space occupied by hidden elements



sabhandari
29 May 2012, 1:01 AM
I have a multi-select which is getting hidden dynamically by using hide() method.

But the problem is that it still occupies space in the Panel and other controls are not aligned to the top, once the multi-select has been hidden.

I tried calling doLayout() method on the panel but no success. There is a override given on snecha forums for EXTJS 2.0 but I am using EXTJS3.0 and get javascript errors when using it.

Pls. help

scottmartin
3 Jun 2012, 8:04 AM
Please provide a small example of what you are having problems with.

Scott.