Services Plugins FAQs

Use the drag and drop rg plugin, inside another rg

Hello everyone, I’m using the Drag & Drop RG plugin in my project, basically I’m creating a community within the bubble, and in the side menu I have categories, which within these categories have channels, I’m using the plugin to reorder the categories, and I want reorder the channels too, there are two RG’s, one that brings the categories, and within it another that brings the channels, in the category category the plugin is working very well, not in the one inside. I gave an ID to the channel RG with the name rgChannels#Current cell’s index, and I also brought this same ID to the plugin, but no channel in any category is draggable, if you could help me I would be grateful.

Hello @jv.farinelli,

Thank you for reaching out to us.

From your message, I understand that you want to use Repeating Groups (RG) within other RGs and make them draggable as well. Is my understanding correct?

After some testing, you can achieve this by setting the ID Attribute of the inner RG to “name”+“Current cell index” (see attached image). Then, add as many DraggableRG elements as there will be RGs on your page, and in the Repeating Group ID use the format “name”+“1,2,3…” (see attached image). You can also check out this example on my test page (link), where you can see how this setup allows dragging between the outer RG and each inner RG as well.

Could you please try this method and share your thoughts and feedback with us? Also if you have any other questions or encounter any issues, do not hesitate to let us know.

Thank you once again, and I look forward to your reply.

Best regards,
Stefan

It’s something close to what I need, Stephan. However, I cannot limit myself to the number of items that my internal RG will have, as each category can be a space, so it would need to be something that is replicable regardless of the amount of data.

Hello @jv.farinelli,

Thank you for the message.

Indeed, you can actually set the Repeating Group ID to “name” + “Current cell index” (image), and it will function the same way to the example I demonstrated. This adjustment will ensure you have only two DraggableRG elements on the page.

Could you please try this configuration and let us know if it works well for you? Additionally, if you have any further questions, feel free to ask.

Thank you once again, and I eagerly await your response.

Best regards,
Stefan

Hello @jv.farinelli,

I hope you’re doing well!

I wanted to check in and see how things are going with the configuration we discussed for the DraggableRG elements. Have you had a chance to implement the suggested changes? Please let me know if it’s working as expected or if you have any other questions.

Looking forward to your feedback!

Best regards,
Stefan