GWT: What is the way to handle Click on GWT FlowPanel
Posted
by shaman.sir
on Stack Overflow
See other posts from Stack Overflow
or by shaman.sir
Published on 2010-06-08T10:03:15Z
Indexed on
2010/06/08
10:22 UTC
Read the original article
Hit count: 260
May be a dumb question, but GWT FlowPanel (raw div
element) does not provides something to handle a mouseclick/mousemovement on it. Overriding onBrowserEvent
do not works either.
If setting onclick
event using native JavaScript (need to specify positive height before, 'div' have a height of 0
if not specified), then catching these events is working properly. Is there a way to do it without using JSNI?
© Stack Overflow or respective owner