Wednesday, September 28, 2011

ScrollPanel not shoing up!


I recently started learning GWT and have been facing an issue related
to ScrollPanel as described below:
I have got a DockLayoutPanel added to RootLayoutPanel and at the
center of DockLayoutPanel I placed another DockLayoutPanel that I
intend to use for diplaying various views by swapping them in-out via
presenters as and when needed based upon the events on the gwt

<g:DockLayoutPanel unit='EM' >
<g:DockLayoutPanel ui:field='mainPanel'
styleName='{style.mainPanel}' ></g:DockLayoutPanel>

The first view that I placed at mainPanel has got following structure

<div><g:FlexTable ui:field='header' styleName='{style.header}'
cellSpacing='0' cellPadding='0'/></div>
<g:FlexTable ui:field='table'
styleName='{style.table}' cellSpacing='0' cellPadding='0'/>

The scrollPanel on the FlexTable named 'table' would not shou up even
if I had more rows of data in the 'table' enough to fill the
'mainPanel' center.

I could have used the ScrollPanel instead of the DockLayoutPanel
mainPanel but that causes the 'header' and 'table' to scroll wheras
the right thing to do is scroll only the data in FlexTable 'table'.

Can someone please help or re-direct me to similar issue in the forum.

Thanks in advance


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment