Reorderable Table Rows
Filament 4/5Shows how to implement drag-and-drop reordering with automatic position assignment for new records and auto-reordering when records are deleted.
Get the Source Code:
Only This Example
$9
One-time payment
Full source code for Reorderable Table Rows
Downloadable ZIP file with the source code
Lifetime access to this example
Sign in with GitHub to buy
Sign in first, then complete your $9 checkout.
Best value — all 177 examples
View membership plans
FilamentExamples Membership
$99
/year
or
$199
lifetime
Access to code of all 177 examples
Future new examples and updates included
FilaCheck Pro package licence included
MCP server included
30-day money-back guarantee
How it works
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'),// ...
The FULL tutorial is available after the purchase: in the Readme file of the official
repository you would get invited to.