hi all i need a simple example show me how to add column of ClickableTextCells to cellTable
thanks.
Column newCol = new Column(new ClickableTextCell()) {
@Override
public String getValue(YearValueObject obj) {
return obj.someMethod();
}
};
newCol.setFieldUpdater(new FieldUpdater() {
@Override
public void update(int index, YerValueObject obj, String value) {
//do whatever you need to here...
}
});
table.addColumn(newCol, "ClickColumn");