Shows how to implement drag-and-drop reordering with automatic position assignment for new records and auto-reordering when records are deleted.
One-time payment
Sign in with GitHub to buy
Sign in first, then complete your $9 checkout.
30-day money-back guarantee
The main ordering is defined in the CategoriesTable using defaultSort and reorderable for the position column.
->defaultSort('position')->reorderable('position')
app/Filament/Resources/Categories/Tables/CategoriesTable.php
return $table ->columns([ TextColumn::make('name'),// ...