Back to School: coupon SCHOOL25 for 40% off Yearly/Lifetime membership! Read more here

Reorderable Table Rows

Filament 4

Shows how to implement drag-and-drop reordering with automatic position assignment for new records and auto-reordering when records are deleted.

FilamentExamples ThumbBase (13)

Get the Source Code:

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.
Get the Source Code: All 148 Premium Examples for $99