I succedede in showing the button , but it has no action , but it has no action

I think that it is because the last index is not known !

I can't figure out a way to pass it

Patrick


----- Original Message ----- From: "Ahmed Mohammed" <[email protected]>
To: "Google Web Toolkit" <[email protected]>
Sent: Wednesday, April 13, 2011 5:46 PM
Subject: Re: CellTable Dynatable SimplePager last Button


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.




-----
Aucun virus trouvé dans ce message.
Analyse effectuée par AVG - www.avg.fr
Version: 10.0.1209 / Base de données virale: 1500/3571 - Date: 13/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.

Reply via email to