Hi, I am usign GWT2.3. We developed CustomPager by overriding SimplePager.
We override createText() method such a way that we are showing string like
"Page 1 of 4" using following code
> public String createText() {
> if(searchRecordCount%pageSizeForText == 0){
> totalPages = searchRecordCount/pageSizeForText;
> }else{
> totalPages = (searchRecordCount/pageSizeForText) + 1;
> }
> NumberFormat formatter = NumberFormat.getFormat("#,###");
> return "Page "+formatter.format(this.getPage()+1) + " of " +
> formatter.format(totalPages);
> }
>
[image: pager.PNG]
Now I want to use TextBox for CurrentPage so that user can enter page
Number in textBox. (Functionality GoTo entered pageNumber)
createText() returns string so I cant user textBox ;) + Can't provide css
How can I do this ? Is there any way to solve this problem? Workaround if
any or Sample code
--
Best Regards,
Vaibhav
<http://about.me/vaibhavbhalke>
--
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.
<<pager.PNG>>
