Replies: 2 comments
-
This is perfect! I've considered this issue before but hadn't thought of a suitable solution. Will have this in the core very soon. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is possible in v3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
Nice work so far, I've been playing around and migrating a small app to see how easy/mature things are.
It would be nice to be able to pass in column names into the searchable/sortable methods of the Table column. If I access an attribute on the Eloquent model e.g.
getFullNameAttribute
-> which returns thefirst_name . ' ' . last_name
as concatenated string then the searchable/sortable methods fail because there is no underlyingfull_name
column on the underlying table.So I was thinking something like the below to pass in the query builder
Edit:
Obviously as work around for the searchable it's possible to add the individual fields/columns as hidden
Keep up the good work
Beta Was this translation helpful? Give feedback.
All reactions