Sten
Posted on October 3, 2018
We're in the process of implementing drag & drop in our platform to reorder elements and while the UX is straightforward to manage I've seen a lot of options for persisting the order in DB.
I'd love to get some wisdom from the community and see what the best practices are. I've looked around on StackOverflow and found this article that has an interesting option to limit queries.
So, in your experience, what's the best approach for it?
Edit: for those stumbling on the post look at Guillaume's comment for neat SQL statements.
💖 💪 🙅 🚩
Sten
Posted on October 3, 2018
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.