Skip to content

v4.0.0

Choose a tag to compare

@AsmitNepali AsmitNepali released this 31 Jul 04:39

Stable 4.0 of asmit/resized-column — resizable, reorderable, and pinnable Filament table columns.

Highlights

  • Drag-to-resize — column widths persist per user (session and/or database)
  • Drag-to-reorder->dragReorderableColumns() (stable; previously beta)
  • Pinned columns->sticky() defaults and ->stickableColumns() pin panel (stable; previously beta)
  • Unpin from the header — click the pin on a user-pinned column to remove it
  • Custom pin trigger->stickyManagerTriggerAction()
  • Persistence — widths, order, and pins share one settings payload
  • Standalone Livewire — same HasResizableColumn trait outside a panel
  • Filament 3, 4, and 5

Upgrade from 3.x

composer require asmit/resized-column:^4.0
php artisan filament:assets

Opt into reordering and pinning per table:

return $table
    ->columns([
        TextColumn::make('name')->sticky(),
        TextColumn::make('email'),
    ])
    ->dragReorderableColumns()
    ->stickableColumns();

Upgrade from 4.0.0-beta.*

No API break from the latest betas. Reorder and sticky are no longer marked beta.

Docs

https://asmitnepali.github.io/resized-column/

Full changelog: v3.0.2...v4.0.0