On Feb 2, 6:38 pm, Thomas Broyer <[email protected]> wrote:
> On Thursday, February 2, 2012 11:22:43 AM UTC+1, tong123123 wrote:
>
> > I follow the example in
>
> >http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/g...
> > and find that the last button >> is unenabled, so user need to step
> > page by page until the end.
>
> > I want to know how to enable the last button of simplepager?
> > I see the showcase source and there is one statement
> >  // Create a Pager to control the table.
> >     SimplePager.Resources pagerResources =
> > GWT.create(SimplePager.Resources.class);
> >     pager = new SimplePager(TextLocation.CENTER, pagerResources,
> > false, 0, true);
>
> > I know the last parameter cause the last button to show, but what is
> > SimplePager.Resources?
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/g...
>
> > any example to create it? or could I pass a
> > null to it if I have not any SimplePager.Resources?
>
> Simply pass GWT.create(SimplePager.Resources.class), as in the Showcase
> sample code.

thanks for the reply, but what is
SimplePager.Resources.class?
How to create this class?

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

Reply via email to