Is this tree component support clone option?

58 views
Skip to first unread message

sure

unread,
Mar 1, 2009, 5:53:59 AM3/1/09
to jsTree
Hi Ivan,
Is this tree component supports clone option. If it is in
it, than how can i do this. I have to do copy and paste functionality
for tree nodes. My tree look like

--User
--channel-1
--tab-1
-- page-1
-- page-2
--tab-2
--page-3
--page-4
--channel-2
--tab-3
--page-3
--page-4

What i want is , i would like to copy and paste(clone) one tab to
another tab. I don't want cut and paste(drag and drop). Please help me
to do this.

with Regards
sure.

vakata

unread,
Mar 4, 2009, 4:26:55 AM3/4/09
to jsTree
You could hold Ctrl while dragging - it makes a copy. Or if you want
to attach it to buttons - there are methods name "copy" and "paste" -
check the docs.
Regards,
Ivan

P.S. The Ctrl option while dragging is a setting - check the docs.
Reply all
Reply to author
Forward
0 new messages