Reordering List Items in a collection

Hi

Thought I would share the method I use for allowing users to reorder items in a collection.

This method is very simple and just manipulates the data for the row you are moving. No need to swap values with other rows which I think gets messy.

Thoughts welcome!

Andrew

8 Likes

Very interesting way to reordering items! Thanks for sharing that!

This is gold. Your method is MUCH simpler than what I’ve been doing. I’ll need to give this a try.

Here’s what I had been doing that involves data sets, CSV of RowIDs, javascript columns to create new CSVs, and set column actions to overwrite the list of CSVs… :sweat_smile:

1 Like

I like it, Andrew! Well done!

Can’t tell you how thrilled I am this is of use! May re-record the video now I know for sure it can be useful!

Thanks for the feedback!

@Andrew_Davies thanks for this input, I had a similar project but one where I also wanted to have a hierarchical list.
I built on top of your solution and happy to share the result:

If you would have any questions or feedback let me know!

3 Likes

I’m delighted my sorting method has helped you and others!

What a clever way of adding hierarchical rows. Great work!

3 Likes