Sunday, May 12, 2013

Cell mouse in/out events fired multiple times

I have a cell which is composed of multiple div, img eleemnts. When I register for mouse in/out events,
onBrowserEvent gets called multiple times when the mouse is hovered over the cell because it fires for each contained div/img elements.
 
I know that this is done so that there might be a requirement to want to know exactly which element was moused over.
 
But, in my case , I don't need to know which contained element was moused over, I just want to know which cell was moused over. These multiple events are making my implementation complex since I have having to do a lot of book keeping.
 
What is the best way to implement this? Also, it will be great if you can point me to some examples.
 
Thanks,
Ranjith

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate