PDA

View Full Version : Tab with scrollbars



g_papasavva
24 Sep 2009, 5:54 AM
I have tab which loads several panels using myPanel.getUpdater.update({...}) method
The tab appears shows horizontal and vertical scrollbars and once i change tab and go back the scrollbars disappear.
Also, once the content inside the tabPanel has ginished loading and from firebug, i execute
myTab.doLayout()... the scrollbars disappear.
The issue is that i do not know when myPanel.getUpdater.update({...}) will finish updating and thus i do not know when i should execute "myTab.doLayout()"
Does anyone know how to handle this issue.

hendricd
24 Sep 2009, 6:26 AM
@g_papasavva -- Make sure you are setting autoScroll : true/false on the individual Panels(tabs), and not on the tabPanel itself.