How can I colour the status column?

https://user-images.githubusercontent.com/21066418/180368112-cfccda8d-a442-43e3-8cf3-3ba04f42247d.png the column part in this picture is coloured but I have no idea how to do this. In addition, how can I filter the column in the picture? exactly where I've marked the codes of my column are like this. SelectColumn::make('status')->label('Durum') ->options([ '0' => 'new', '1' => 'accept', '2' => 'in_warehouse', ])->disabled()
4 Replies
toeknee
toeknee2y ago
Filament
Badge column - Columns - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Mehmet K.
Mehmet K.OP2y ago
Thank you. Well, how do I filter by column, the part I show in the picture.
toeknee
toeknee2y ago
That bit in the picture is toggleable() for filters you want: https://filamentphp.com/docs/2.x/tables/filters
Filament
Filters - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Dennis Koch
Dennis Koch2y ago
Please check the docs. Also the Demo is open source so you can check it for reference.
Want results from more Discord servers?
Add your server