Hello all
Is there option to copy record(s) from treeGrid-A to treeGrid-B using drag/drop?
Have found solution (on this forum) for tree:
onBeforeDrop: function(target,source,point){
if( source.attributes.source == 'person_tree' ){
toAppend = $.extend(true,{},source);
toAppend.attributes.source = 'big_tree';
$(this).tree('append', {
parent: target,
data: toAppend,
});
return false;
}
}
With other words, it should work same as existing drag/drop except source record(s) should not be deleted.
Thank you.