Hi! How can I alter data before displaying it in the table?
So I have data coming in form my DB and I want to show the data in better text. For example, I have a "status" column containing information like "payment_pending", But I want to table to show it as "Payment Pending." Any and all help appreciate. Thanks in advance!
3 Replies
Have you looked at enum formatting? https://filamentphp.com/docs/2.x/tables/columns/text#enum-formatting
Filament
Text column - Columns - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
you can use
That helps mate! Thanks a lot π