GWT - How to stop propagation from a child's event to its parent -


i'm building gwt application tree. every tree items represent object has boolean attribute can set through checkbox displayed in tree item itself.

i have selection handler stuff on tree gets called on click on every tree items.

what want do, prevent selection event firing when i'm clicking on checkboxes ...

however, checkboxes don't have selectionhandler, tried put clickeventhandler event.stoppropagation(), selectionhandler still getting called ...

edit: selectionhandler getting fired before clickeventhandler anyway ...

thanks in advance

you might consider following method provided in gwt documentation here. should bit interested in.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -