Computed table values
I want add something in my table that is a computed value from multiple model fields. Is this possible without a model attribute?
Solution:Jump to solution
You can use ...
->formatStateUsing(fn (string $state, Model $record) => // )
... although this won't be searchable (or at least, attributes from other fields won't be)....1 Reply
Solution
You can use ...
->formatStateUsing(fn (string $state, Model $record) => // )
... although this won't be searchable (or at least, attributes from other fields won't be).