Hi Markus,

1) I need to drag and drop some tree nodes from a ULCTree to a different
component. Unfortunately only certain nodes are allowed to be dragged at
all. Is there a way to define the source actions per tree node?
Currently this is not supported by ULC. See also http://www.canoo.com/jira/browse/UBA-836 in our issue database.

2) My drop target is a custom component. What do I have to do in order to
transfer the tree nodes user object instead of its tree path or textual
representation?
The application tree nodes live on the server-side only. So you have to send just a description of the tree nodes from the client-side to the server-side. In your custom component you can then construct the corresponding tree nodes on the server-side and deliver them to your application.

Regards Dany


Markus Schwarz wrote:
Hi,

I have a couple of questions concerning DnD in ULC.

1) I need to drag and drop some tree nodes from a ULCTree to a different
component. Unfortunately only certain nodes are allowed to be dragged at
all. Is there a way to define the source actions per tree node?

2) My drop target is a custom component. What do I have to do in order to
transfer the tree nodes user object instead of its tree path or textual
representation?

Help on this would greatly be appreciated,

 Markus

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer


_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to