Reputation: 11908
Is it possible to add a ClickHandler to the whole row of gwt's Grid object? It is possible to add a ClickHandler to the whole grid but how can I determine which exactly row was clicked?
Upvotes: 2
Views: 1353
Reputation: 29265
Depending on GWT version, you might be able to use:
public HTMLTable.Cell getCellForEvent(ClickEvent event)
The Cell has a getRowIndex()
method.
Upvotes: 2