Rank: Member Groups: Member
Joined: 8/23/2007 Posts: 12
|
Hi,
I have been reviewing the drag&drop demo and the Javascript API but I don't know how to implement between two treeviews.
I have one treeview with the a field list (Level 0: Groups and Level 1 fields) I have created a second treeview to move the fields to use in the export process.
This treeview has a single level 0 (Selected Fields) so every item dropped should be placed below this group. This treeview items can be reordered.
I didn't see in the documentation how to add by Javascript a tree node with the information of the dragged tree node.
Any advice????
Thanks in advance...Antonio
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will not be able to do that. You can drag a tree node to another control but you can not dynamically create new TreeNode on the client side, which means you can drag and drop a node from TreeView1 to TreeView2, but TreeView2 won't take it as a new node. The closest you can get is to drag from TreeView to Grid because Grid does allow you to dynamically create new rows on the client side: http://demo.essentialobjects.com/Default.aspx?path=TreeView\_i2\_i1Thanks!
|