On 20 mai, 12:14, Suren <[email protected]> wrote:
> Hi All,
>
> i just wanted to know anyway I can set tooltip text only to certain
> cells in a Grid??
>
> I saw setTitle()..but thats for the entire Grid
>
> Any advise welcome
Try this:
grid.getCellFormatter().getElement(x, y).setTitle(title)
but keep in mind that while most (if not all GWT-supported) browsers
show title="" as a tooltip on mouseover, you're not guaranteed that
title == tooltip (and how about users not using a mouse?)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---