Sortable() and getStateUsing
I created a custom text column to display a calculated value (display user scores). The database itself actually doesn't have this column.
All things work perfectly except when I try to make it sortable, which return "Column Score not Found".
Is there anyway for me to sort it based on current state rather than database value?
2 Replies
You just
database itself actually doesn't have this columnSo how should this be sorted I think if you are manually resolving the value using
getStateUsing
, you'd need to manually define sortable closure
It would be helpful if u could share your table's codeFilament sorts only by db columns