RE: [flexcoders] How to get the target node in dragEnter()

2007-05-29 Thread Alex Harui
I don't think the default tree behavior is to set selectionItem on
dragEnter.  There doesn't look like there is a documented way to do
this, but maybe using some mx_internal stuff (_dropData) you can get
what you want.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Monday, May 28, 2007 7:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get the target node in dragEnter()

 

I need a reference to the tree/xml node that is the current target of a
drag/drop operation from within dragEnter.

All of the examples I see use calculateDropIndex and set the
selectedItem, but I do not want to select the tree item on dragOver.

How can I tell what the drop target node is?

Tracy

 



RE: [flexcoders] How to get the target node in dragEnter()

2007-05-29 Thread Tracy Spratt
...don't think the default tree behavior is to set selectionItem on
dragEnter... No, it is not, but that is the technique all the examples
I see use to determine the target tree node.  But that technique changes
the dragSource.

 

I am going to use a different UI for my needs this time.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Tuesday, May 29, 2007 2:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the target node in dragEnter()

 

I don't think the default tree behavior is to set selectionItem on
dragEnter.  There doesn't look like there is a documented way to do
this, but maybe using some mx_internal stuff (_dropData) you can get
what you want.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Monday, May 28, 2007 7:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get the target node in dragEnter()

 

I need a reference to the tree/xml node that is the current target of a
drag/drop operation from within dragEnter.

All of the examples I see use calculateDropIndex and set the
selectedItem, but I do not want to select the tree item on dragOver.

How can I tell what the drop target node is?

Tracy

 



[flexcoders] How to get the target node in dragEnter()

2007-05-28 Thread Tracy Spratt
I need a reference to the tree/xml node that is the current target of a
drag/drop operation from within dragEnter.

All of the examples I see use calculateDropIndex and set the
selectedItem, but I do not want to select the tree item on dragOver.

How can I tell what the drop target node is?

Tracy