Text Posts

I just deployed my new website, which feels like I do every other year or so... take a look at the details on how it's set up and stuff.

You can add a getTableHeaderActions method to any component that implements the Tables\Concerns\InteractsWithTable concern. This allowed me to add a button to the header of a table widget.

Code:

1protected function getTableHeaderActions(): array
2{
3 return [
4 CreateAction::make()
5 ->url(route('filament.resources.jobs.create')),
6 ];
7}

Screenshot:
Print Queue Table Header Widget

An undocumented feature of Filament I found recently is the ability to add actions to table headers!