Hi Team,
I am working on a requirement where I am supposed to have re-arrangeable list-boxes in a div, where list-boxes are drag and droppable. I am attaching example below where I am iterating list-boxes and able to get updated list-box arrays but facing difficulty in making list-boxes drag and droppable(re-arrangeable).
How can we make list-boxes drag and droppable and how to get updated list-box order?Re-Arrangeable List-Boxes
Screenshot from attached example
Please let me know how I can achieve this.
Thanks & Regards,
Cyril Ovely
Attachment: listboxexample_ba1bde1.zip
Hi Cyril,
We can able to drag and drop the element. Please refer the below UG documentation link,
UG: https://ej2.syncfusion.com/vue/documentation/common/drag-and-drop/#drag-and-drop
Could you please check the above details and get back to us, if you need any further assistance on this.
Regards,
Thaneegairaj S
Hi Thaneegairaj,
The solution you have suggested is not suitable for our requirements as we are generating the list-boxes in a dynamic way. Moreover, one list box never be placed on another list box, it should be like a grid while we drag and drop. Specifically list boxes should be like columns in a table.
I am attaching a video of our requirement. Please let me know how to achieve this using syncfusion UI components.
Please refer to the example attached below along with requirement video.
Need to update list-boxes as re-arrangable
Thanks & Regards,
Cyril Ovely
Hi Team,
Waiting for your reply. Please let us know if we need to change any structure.
Thanks & Regards,
Cyril Ovely
Hi Cyril,
We are currently working on this and will update the further details shortly.
Regards,
YuvanShankar A
Hi Cyril,
We have prepared a sample based on your requirement, please find the sample attachment, and get back to us if you need further assistance on this.
Regards,
YuvanShankar A
Hi YuvanShankar A,
Thanks for your response. After making a few changes I am able to change list-boxes order. I am attaching the updated code.
Regards,
Cyril Ovely
Hi Cyril,
We are happy to hear that your requirement has been fulfilled. Please get back to us if you need any further assistance on this.
Regards,
YuvanShankar A