Display

Reordering

Let rows move up and down by a number column.

protected function boot(): void
{
    $this->reorderable('sort', fn (): bool => auth()->user()->isAdmin());
}

This adds up and down buttons. It's off until the closure says yes, and both rows come through query().

Rows move with buttons. Drag and drop isn't supported yet.