Is there a smarter way to do it? Droppable groups

Hi guys,

I am trying to build a fixed list of items that user can drop items from another group and then reordering the list the way they like. (think organizing items on your daily calendar by hour)

The only way I can do it is by creating fixed number of groups that each have a drop area and a drag/drop group - each time the tasked is dropped the corresponding task_order of item is changed to the fixed number (if you drop item on group 1 the the task order is 1 so the bubble searches the data base for the item which have task_order = 1). It seems to be working like I wanted. My question is: is this the most efficient way to do in terms of speed and workflows count etc? Bubble seems really slow

https://bubble.io/page?type=page&name=app3&id=justtestinggroups&tab=tabs-1

I tried to do it with RG but I can’t drop item on group which is empty - so I created items “empty” to work as placeholder where you can drop another group - but it doesn’t work because the group needs to be sorted (or it doesn’t have to?) to make the elements interchangeable but the items order number makes it impossible (I think)

https://bubble.io/page?type=page&name=app&id=justtestinggroups&tab=tabs-1

anybody? :frowning:

This might help when it comes to reordering.

Here’s a forum thread with a lot of info on drag/drop groups + reordering stuff

Also, if your list start out as empty then you can just set a conditional statement on your initial drop group (the group that you currently are using to insert items) to disappear once ‘List of items: count >0’

Hope this helps

Thank you so much Vin! I will look into it :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.