Custom Column Records

Hi fellas, i have in my database column data (text) which is casted to array. Now i want to have in table multiple columns with that data but on it's keys. I have issue that filament is not recognizing custom column when i say TextColumn::make('sync_type') which is part of data array.... It wont even register formatStateUsing(). Any solution?
2 Replies
trovster
trovster3mo ago
I would create mutators on your model, then you can use them in your columns.
SuperUserDo
SuperUserDo3mo ago
Thanks!
Want results from more Discord servers?
Add your server