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/gwt/user/cellview/client/SimplePager.html > > 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/gwt/user/cellview/client/SimplePager.Resources.html > 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. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TGvZR_YJafIJ. 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.
