Currently I'm working on listbox with checkbox selection for transfer purpose. I'm able to transfer the checked item in source to destination listbox with the following script.
But I not able to transfer checked item from destination listbox back to the source listbox.
Is there any way of transferring destination listbox item with checkbox back to the source listbox?
function clientTransfering(sender, args) {
args.set_cancel(true);
var checkedNodes = args.get_sourceListBox().get_checkedItems();
for (var i in checkedNodes) {
var item = checkedNodes[i];
args.get_sourceListBox().transferToDestination(item);
}
}
Is there any way of transferring destination listbox item with checkbox back to the source listbox?