Monday, September 20, 2010

Re: PagingScrollTable Auto Resize

Never mind..I got it working..

thanks

On Sep 20, 2:33 pm, rvns-pats <kommineni.sate...@gmail.com> wrote:
> could you please post the sample code where you are making a call to
> fill the width ??
>
> I am using fillWidth() method and when the view gets loaded the
> initial table columns are not occupying the entire space
> available !!..
>
> thanks
>
> On Sep 13, 10:02 am, Maurice <maurice.ocon...@gmail.com> wrote:
>
> > That did the trick, many thanks!
>
> > Maurice
>
> > On Sep 10, 9:27 pm, daniel <d.brelov...@googlemail.com> wrote:
>
> > > query the container widget's size in a deferred command (http://
> > > code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/
> > > google/gwt/user/client/DeferredCommand.java?r=1061)
> > > so the browser has time to calculate the containers size before you
> > > ask for it
>
> > > On 10 Sep., 18:06, Maurice <maurice.ocon...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I understand that a PagingScrollTable must have its size specified in
> > > > pixels.
>
> > > > So far I have successfully created a PagingScrollTable and setup a
> > > > handler to listen for browser resize events like so:
>
> > > >    Window.addResizeHandler(new ResizeHandler() {...})
>
> > > > When I resize the browser my PagingScrollTable is resized correctly.
>
> > > > However, when it initially loads, it does not fill the widget
> > > > containing it. When I query the container widget's size from its
> > > > presenter I get 0.
>
> > > > Has anyone got a solution for this?
>
> > > > Thanks!
>
> > > > Maurice

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment