I have a flextable and i would like to get info about a row when click on. I have a listener but it is not working correctly
I have this click handler, but it is not working, am i doing this right? well, atleast close to being right?
Thanks
FlexTable fileTable = new FlexTable();
fileTable.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Cell cell = fileTable.getCellForEvent(event);
int receiverRowIndex = cell.getRowIndex();
System.out.println(receiverRowIndex);
}
});