PDA

View Full Version : TreePanel Selection type



micgala
10 Jul 2009, 2:15 AM
Hi.

I want to listen for the SelectionChangedEvent in the TreePanel selectionModel.

But I want to act differently when the user selects the node by using the right click mouse, or if the user is pressing Alt or control....

How can I know it?
The SelectionChangedEvent does not gives me information such as what was the mouse button used, or if alt or control was being pressed...

Is there any other way of listening for clicks in the TreePanel that will send me this kind of information?

Thanks for helping!
Michel.