Thursday, September 29, 2011

Re: ScrollPanel not shoing up!

Well, there are several views so is the need for the inner
DockLayoutPannel. Though not sure how usually its done otherwise ?
Trying to playaround with as much codeas posssible :-)

As a side note I just had to set the size of the ScrollPanel as
suggested on GWT developer guideline and it started appearing nicely.

<g:HTMLPanel >
<div><g:FlexTable ui:field='header' styleName='{style.header}'
cellSpacing='0' cellPadding='0'/></div>
<g:ScrollPanel width='100%' height='100%'>

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


This is the link that gave the Hint:
under "Tables and Frames" towards the end of the page.

Thanks very much for your time and help,


On Sep 29, 9:13 pm, Ryan Groten <> wrote:
> Why not try putting the view into a DockLayoutPanel itself to separate the
> header from content?
> <g:DockLayoutPanel size="30">
>   <g:north>
>     <g:FlexTable ui:field='header' styleName='{style.header}' cellSpacing='0'
> cellPadding='0'/>
>   </g:north>
>   <g:center>
>     <g:ScrollPanel>
>       <g:FlexTable ui:field='table' styleName='{style.table}'
> cellSpacing='0' cellPadding='0'/>
>     </g:ScrollPanel>
>   </g:center>
> </g:DockLayoutPanel>
> Also may want to consider replacing your mainPanel DockLayoutPanel with
> something like a SimpleLayoutPanel if it's only going to hold a single view.

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