I am using CellTable to show my records but now the thing is I want show a select box when user clicks on a cell. One more thing is that select box is my own widget, not a prede
I think @Kel has given the closest answer , I use his answer and I found ActionCell
can use IdentityColumn
and CellTable
Can use IdentityColumn
ActionCell refreshCell = new ActionCell<>("Refresh", new ActionCell.Delegate() {
@Override
public void execute(MyEntity entity) {
//bla bla bla
}
});
IdentityColumn refreshColumn = new IdentityColumn<>(refreshCell);
cellTable.addColumn(refreshColumn, "Refresh");