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

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -