Laravel Filament - Grouping Rows

preview_player
Показать описание
Laravel Filament Grouping Rows - You can allow users to group table rows together using a common attribute. This is useful for displaying lots of data in a more organized way!
Рекомендации по теме
Комментарии
Автор

You can cast your created_at column as a Carbon instance directly from the model using

protected $casts = [‘created_at’ => ‘datetime’]

This way, you can just use ->created_at->format() in the table grouping

Tuto