If you mean CellTable, you can try something like this ...
table.addCellPreviewHandler(new Handler<IdObject>() { @Override public void onCellPreview( CellPreviewEvent<IdObject> event) { if ("mouseover".equals(event.getNativeEvent().getType())) { Element cellElement = event.getNativeEvent().getEventTarget().cast();
UDP: method for getting the cell value.
private String getElementValue( Element element) { Element child = element.getFirstChildElement().cast(); while (child != null) { element = child; child = element.getFirstChildElement().cast(); } return element.getFirstChild().getNodeValue(); }
source share