I'm trying to setup a Row-click handler for the GWT CellTable (GWT 2.1). The stackoverflow post here indicates that you should be able to get the type of handler using:
boolean isClick = "click".equals(event.getType())
But event.getType()
doesn't return a string, so the evaluation isn't working. The CellPreviewEvent is working, but it fires lots of events (not just click), and I'm having a hard time figuring out how to only get the click events..
Has anyone found a solution to this? (Or can explain what I'm doing wrong in following the post)