Re: how to make a clickable image cell?

2012-04-20 Thread tong123123
I found the answer finally, I wrongly import the com.google.gwt.user.client.Element; instead of com.google.gwt.dom.client.Element; On Friday, April 20, 2012 4:14:44 PM UTC+8, tong123123 wrote: > > I got some insight but still not clear, it show that > > public void onBrowserEvent(Context context,

Re: how to make a clickable image cell?

2012-04-20 Thread tong123123
I got some insight but still not clear, it show that public void onBrowserEvent(Context context, Element parent, String value, > NativeEvent event, ValueUpdater valueUpdater) > in ClickableImageCell2 is not override public void onBrowserEvent(Context context, Element parent, C value, >

Re: how to make a clickable image cell?

2012-04-20 Thread tong123123
for further information, the onBrowserEvent is not triggered when click or keydown the value is not null, the code is ClickableImageCell2 clickableImageCell2 = new ClickableImageCell2(); > Column clickableImageColumn2 = new > Column(clickableImageCell2){ > > @Override >

Re: how to make a clickable image cell?

2012-04-20 Thread tong123123
I try the following method but fail, the click event and keydown event has no respond. package com.mycompany.project.client; > > import com.google.gwt.cell.client.AbstractCell; > import com.google.gwt.cell.client.ValueUpdater; > import com.google.gwt.dom.client.NativeEvent; > import com.google.g

Re: how to make a clickable image cell?

2012-04-19 Thread Thomas Broyer
On Thursday, April 19, 2012 9:45:40 AM 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? > How about https://www.google.fr/search?q=

Re: how to make a clickable image cell?

2012-04-19 Thread tanteanni
Should be possible with ActionCell or ButtonCell. The image could be easily added via render method. look at examples on gwt showcase like this . An image could be added to every kind of cell i think (from example): String imageHt

how to make a clickable image cell?

2012-04-19 Thread tong123123
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 th