I thought of a way to stop executing the action associated with the cell by simply adding "return; " to the method if the mouse is over the Anchor widget. But how do i test if the mouse is over the anchor ? :D
On Mar 8, 1:45 pm, Ice13ill <[email protected]> wrote: > Hello, I'm using a flex table with some Label widgets and an Anchor > widget > When i select a row (when i click on a label), the table has a click > handler so, a ClickEvent is fired. > and every time a cell is clicked i need to call a method (let's say > "onRowSelected(...), witch always needs to be called when the cell is > clicked) > Problem: if i add an Anchor element, with it's own handler (associated > action) it will fire both the onRowSelected method, and the action > given to the Anchor handler. In this case, i dont want to fire the > cell clicked event. > Also, i can't set the width of the anchor to be the same with the cell > (in that case, i could just do nothing if the cell contains an > Anchor) > So it's there a way to cancel the cell clicked event, if the element > already has a handler ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
