I am trying to use the new Data Presentation Widgets (cellTable)
Now for a demo I am making, I used the example from here How to use GWT 2.1 Data Presentation Widgets to create a button in a column for each row.
My understanding of MVP is that I would need to expose the HasClickEvents to my presenter from my view. How do I accomplish this?
Right now I have
projectGrid.addColumn(new Column<DataDTO, DataDTO>(new ActionCell<DataDTO>("Assign", new Delegate<DataDTO>() {
public void execute(DataDTO row) {
//Attach it here?
Window.alert(row.toString());
}
})) {
@Override
public DataDTO getValue(DataDTO object) {
// TODO Auto-generated method stub
return object;
}
});