membersound
unread,Jan 3, 2013, 4:19:33 AM1/3/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hi,
I have expanded the Tree element and add each one SelectionHandler, OpenHandler, CloseHandler to my Custom Tree class.
The problem is: whenever I close a tree, then first the SelectionHandler is executed, and then the CloseHandler.
All other things work fine: if I open the tree, only OpenHandler executes. If I select an element, only SelectionHandler gets executed.
BUT if I selected an element in the expanded tree and close the Tree afterwards, then again SelectionHandler gets executed and then CloseHandler.
How can I prevent this? Or how could I tell the Tree element to first call the CloseHandler and then the SelectionHandler? Because I need to track in the SelectionHandler if open/close of the tree was clicked.
Thanks