Hi Team,
I have a created a tree using JsonObject dynamically.
$("#treeview").kendoTreeView({
template:kendo.template($("#treeview-template").html()),
checkboxTemplate:kendo.template($("#treeview-checkbox-template").html()),
hasChildren:true,
dataSource: <?=$jsonDataForTree?>,
EnableCaching:false
});
now that i have a tree , I would like to have a copy paste functionality for this same.
1. I have disabled the move option as this not required as per our requirements.
2. I have created two buttons "Copy" and "Paste"
Usage : select a node and go to other node and simply click Paste button. This would copy the entire source(including the nested nodes) to destination.
How can this be achieved ? your help is highly appreciated.
Thanks in advance,
Prasad.
I have a created a tree using JsonObject dynamically.
$("#treeview").kendoTreeView({
template:kendo.template($("#treeview-template").html()),
checkboxTemplate:kendo.template($("#treeview-checkbox-template").html()),
hasChildren:true,
dataSource: <?=$jsonDataForTree?>,
EnableCaching:false
});
now that i have a tree , I would like to have a copy paste functionality for this same.
1. I have disabled the move option as this not required as per our requirements.
2. I have created two buttons "Copy" and "Paste"
Usage : select a node and go to other node and simply click Paste button. This would copy the entire source(including the nested nodes) to destination.
How can this be achieved ? your help is highly appreciated.
Thanks in advance,
Prasad.