events - CellPreviewEvent GWT -
i have used celltable named 'table' in uibinder , wish check cell clicked. have learnt on google cellpreviewevent can used purpose. used following syntax catch event in java code. fails error: field 'table' not have 'addcellpreviewevent.handler' method associated. appreciate if can me :
@uihandler("table") void tableclickedaddclick(cellpreviewevent<?> e) { window.alert("tablickclicked"); }
@uihandler
unfortunately relies on naming conventions find addxxxhandler
methods, , because handler named cellpreviewevent.handler
, not cellpreviewhandler
, won't find addcellpreviewhandler
(it looks addcellpreviewevent.handler
).
that means that, in case, cannot use @uihandler
, must call addcellpreviewhandler
yourself.
Comments
Post a Comment