F
Filament12h ago
MZX

Set a group as default in a table

Group::make('created_at')
->date()
->collapsible(),
Group::make('created_at')
->date()
->collapsible(),
I want the table to have this group applied by default but there is no such feature I believe. Or am I missing something. I tried ->default() but no such thing.
Solution:
->defaultGroup('created_at');
Jump to solution
2 Replies
Solution
MZX
MZX12h ago
->defaultGroup('created_at');
MZX
MZXOP12h ago
Found it

Did you find this page helpful?