Drag Sorting

Re-arranging Items

6:11 · By Caleb Porzio

Level up. Big time.

Instant access to over 8 hours of content. Explore tons of course code and use it in your own apps.

Yearly

$69 /yearly

Access all screencasts and source code by subscribing on a yearly basis.

Lifetime

$149

Pay once, and get access to all future screencasting content. Forever.

Already a GitHub sponsor? Email us for a discount.

Although rare, there is always a possibility that the position column in your table becomes fractured. Race conditions and bugs in application logic can be culprits. In this episode we'll explore a simple option to preserve the integrity of the position column without penalizing every user interaction with extra database queries.

Share