I want one of my table columns to have a deleteButton.
ActionCell<Entrata> deleteCell = new ActionCell<Entrata>("x",new Delegate<Entrata>() {
@Override
public void execute(Entrata object) {
// rpc stuff....
}
});
Ok but this line generates an error:
Column<Entrata,Entrata> deleteColumn = new Column<Entrata, Entrata>(deleteCell);
“Cannot instantiate the type Column”
What do you think?
Here you go with working code:
Assumptions:
TYPE – Is the class of the data you show in rows of Cell Table it the same because I assume you want reference to the instance of data when you going to delete it