Replace "Drag and Drop" method with simple Arrow method

Sohini Kar
Tera Expert
NEED URGENT HELP:
 
I am working on Service Portal widget.
There we created two columns from customer table.
Currently it is working as Drag and drop option from one column to another like attached Screenshot.
 
SohiniKar_2-1710265117832.png

 

 
But my requirement is remove the Drag method and use the Arrow button instead.
We need to select one customer, click on the middle arrow and it moves to the right bucket list.
We need to select all customers with CTRL+A, click on the middle arrow and it moves to the right bucket list.
We need to select one customer + ctrl + click on more customers in the left bucket, click on the middle arrow and they move to to the right bucket list.
SohiniKar_0-1710265053186.png

 

I check the whole Widget, and I guess it is working because of this widget client script:
 
dragStart: function () {
c.availableAs.clone = false;
},
dragEnd: function () {
c.availableAs.clone = true;
 
I tried to remove this function then all value in the list disappeared.
Can you please help me remove this drag and drop option and use the simple arrow option like:
 
SohiniKar_1-1710265087712.png

 

 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, if you are using this in a catalog item\record producer then I would look at the OOB list collector variable.

I need help in Widget Client script.