I have a FlexTable in GWT, and I would like an event to happen at the click of a single cell or in a group of cells. Can it be done?
Thank you very much.
Here is the simplest solution
new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
int cellIndex = flexTable.getCellForEvent(event).getCellIndex();
int rowIndex = flexTable.getCellForEvent(event).getRowIndex();
}
};