Should be possible with ActionCell or ButtonCell. The image could be easily
added via render method. look at examples on gwt showcase like
this<http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList>
.
An image could be added to every kind of cell i think (from example):
String imageHtml = AbstractImagePrototype.create(image).getHTML();
...
@Override
public void render(Context context, ContactInfo value, SafeHtmlBuilder sb) {
// Value can be null, so do a null check..
if (value == null) {
return;
}
// Add the contact image.
sb.appendHtmlConstant("<tr><td rowspan='3'>");
sb.appendHtmlConstant(imageHtml);
sb.appendHtmlConstant("</td>");
...
On Thursday, 19 April 2012 09:45:40 UTC+2, tong123123 wrote:
>
> I want to make a column of clickable image inside a celltable, if user
> click the image, a new tab page is created.
> the problem is how to make such a clickable image cell column?
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/rHzpUQ2lUOQJ.
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.