Re: How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-18 Thread Sudhakar Abraham
Here is what I did for a similar problem. I added a ClickableTextCell in the Column Header. CellTable studentTable = new CellTableStudent(); ColumnStudent, String feesColumn = new FeesColumn(); HeaderString header = new HeaderString(new ClickableTextCell()) { @Override

How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread nacho
I need to put some kind of Button in a CellTable column. I created a class that extends AbstractCell: public class AnchorCell extends AbstractCellAnchor { @Override public void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, Element parent, Anchor value,

Re: How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread Chris
Are you sure you don't want to use a ButtonCell? Seems to be way more convenient ;) On 17 Aug., 22:29, nacho vela.igna...@gmail.com wrote: I need to put some kind of Button in a CellTable column. I created a class that extends AbstractCell: public class AnchorCell extends AbstractCellAnchor

Re: How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread nacho
Looks i was trying to reinvent the wheel :D Thanks! -- 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/-/2WphgIMPNWIJ. To post to this group, send