Great! Thanks, that worked. Even better, I now have two simple pagers, one above my table, the other below, that "play nice' with each other (hit an arrow on one, both update).
Greg On Apr 13, 10:46 am, Ahmed Mohammed <[email protected]> wrote: > Create instance of simplepager resources and pass to the SimplePager > Constructor. Try below lines. > SimplePager.Resources pagerResources = > GWT.create(SimplePager.Resources.class); > SimplePager pager= new CustomSimplePager(TextLocation.CENTER, > pagerResources, false, 0, true); > > P.S : From GWT Showcase example CwCellTable, if you want to take a > look at it. > > gwt-2.2.0\samples\Showcase\src\com\google\gwt\sample\showcase\client > \content\cell\CwCellTable.java > > Hope this helps. > -Ahmed > On Apr 12, 12:47 pm, "Metronome & Basic" > > <[email protected]> wrote: > > It was already constructed that way ! > > but (>>) is disabled and (>| ) is hidden > > > may be you somehow have to tell the pager what is the last page ? > > > thanks > > > Patrick > > > ----- Original Message ----- > > From: John LaBanca > > To: [email protected] > > Sent: Tuesday, April 12, 2011 5:45 PM > > Subject: Re: CellTable Dynatable SimplePager last Button > > > The >> is a fast forward button that defaults to 1000 rows. Use the > > overloaded SimplePager constructor to specify that you want to use a last > > page button instead of a fast forward button. > > > Thanks, > > John LaBanca > > [email protected] > > > On Tue, Apr 12, 2011 at 11:41 AM, Metronome & Basic > > <[email protected]> wrote: > > > I've a CellTable using the example code in DynaTable > > > but as in DynaTable the last (>>) Button of th Pager is disabled > > > in my case , as I know the row count , is there anyway to enable the > > button > > > thanks > > > Patrick > > > -- > > 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > > --------------------------------------------------------------------------- > > --- > > > --------------------------------------------------------------------------- > > --- > > > Aucun virus trouvé dans ce message. > > Analyse effectuée par AVG -www.avg.fr > > Version: 10.0.1209 / Base de données virale: 1500/3568 - Date: 12/04/2011 -- 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.
