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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -