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
Post a Comment