Populate one repeater values from another using drag and drop

repeater-widget

#1

Hi,
I’m sorry if this was already answered
I have created an inventory repeater and I’d like to be able to drag individual items into a “reorder items” repeater list. In that second list I’d be able to enter quantity.

https://81cl6s.axshare.com/#g=1&p=home

Thanks!


#2

Could you upload your .rp file?

Take a look at this thread:

A basic approach would be to create a copy of your repeater contents in a dynamic panel to use as a temp or “fake” repeater object. Show this temp dp when dragging starts and allow it to be moved around. In its OnDragDrop, add a condition to test if it is over the other repeater. If true, update that repeater to add a row with the temp contents.


Can dynamic panels be nested within a larger dynamic panel to enable scroll and drag and drop interactions?