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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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:
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.