Services Plugins FAQs

Drag & Drop to Reorder RG only changes the order of a single element

Hi Zeroqoders,

Hope you all are doing well. I have just implemented the Drag & Drop to Reorder RG plugin into my bubble.io app. My goal is to adjust the order of all the elements in a repeating group however when I use the “An item moved” action I can only change the order of the single element that has been moved. Causing elements to have the same order and therefore the order not making sense anymore.

Am I using the wrong action? Or am I not using the action to the fullest?

All the best and thanks in advance for your help.

Niels

Hello @niels,

Thank you for reaching out to us. :pray:

To preserve the new order of your RG upon modification, in the “Item Moved” event, consider adding an action that updates the designated Order column in your table from database. This approach ensures that any adjustments made through drag-and-drop actions are consistently reflected.

For a practical demonstration, you’re invited to explore my test page, where this implementation is showcased for your review.

If you need further clarification or have additional inquiries, please don’t hesitate to ask.

Thank you once again and I’m looking forward to your reply.

Best regards,
Stefan