PDA

View Full Version : TreePanel event order problem



dbassett74
6 Sep 2009, 6:54 AM
When a node is expanded, and you double-click on it to collapse it, the following events fire in the order presented:

beforeclick
click
beforeclick
click
beforecollapsenode
collapsenode
dblclilck

I believe there are a few problems above:

1) beforedblclick never seems to fire
2) seems like dblclick should happen BEFORE beforecollapsenode, collapsenode

This throws me off a bit in being able to properly handle certain situations. For example, because dblclick (and beforedblclick, which is not even firing) fires AFTER beforecollapse, you can't prevent it from collapsing in the doubleclick event, which you should definitely be able to do.

Anyone else agree??