Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:19:56+00:00 2026-06-04T06:19:56+00:00

I am using Custom Pager by extending Simple Pager. GWT version is 2.3 I

  • 0

I am using Custom Pager by extending Simple Pager. GWT version is 2.3

I want to provide tool-tip on SimplePagers button like first, last, next, previous.

How can I achieve this ?

Any help or guidance in this matter would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:19:57+00:00Added an answer on June 4, 2026 at 6:19 am

    This is actually not so easy to do, because SimplePager is not a very extendable class. It doesn’t provide access to its private button fields in any way, and it also doesn’t assign unique style classes to each of them.

    One solution you could use is:

    final NodeList<Element> tdElems = 
        simplePager.getElement().getElementsByTagName("td");
    
    for (int i = 0; i < tdElems.getLength(); i++) {
    
      final String toolTipText;
    
      if (i == 0)
        toolTipText = "First page";
      else if (i == 1)
        toolTipText = "Previous page";
      else if (i == 2)
        continue; /* This is the middle td - no button */
      else if (i == 3)
        toolTipText = "Next page";
      else if (i == 4)
        toolTipText = "Last page";
      else
        continue;
    
      tdElems.getItem(i).setTitle(toolTipText);
    }
    

    But honestly, this is not a very solid approach – it breaks if the layout of SimplePager changes in the future. I’d rather re-implement SimplePager, and access the button fields directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using custom model binder in ASP.NET MVC 2 that looks like this:
Say I have a blogging site http://www.example.com using custom cms, and I want each
I want to provide custom paging in grid view. <asp:GridView ID=gvFirst runat=server AutoGenerateColumns=false AllowPaging=true
I'm using the Twenty-Ten theme and just want to know whether the indent button
I'm trying to return a custom 404 page using IIS6. (I have a site
I built a custom forum for my site using MySQL. The listing page is
When using custom assemblies in a visual studio project. How does one check in
I'm using custom renderer on JList, but none of components rendered are accessible. list.setCellRenderer(new
I have started using custom intents in my application and I have come across
I'm using custom WordPress categories for some probably unintended functions, I will admit (things

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.