Skip to content

Create Column not included in the query #898

Closed Answered by lrljoe
michele-grifa asked this question in Q&A
Discussion options

You must be logged in to vote

Setup the Column as a Label one, and it won't try to add it to the query.

Column::make('My one off column')
->label(
   fn ($row, Column $column) => 'Whatever Function You Would Like'
),

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

lrljoe
Mar 6, 2023
Collaborator Sponsor

You must be logged in to vote
2 replies
@michele-grifa
Comment options

@lrljoe
Comment options

lrljoe Mar 20, 2023
Collaborator Sponsor

Answer selected by michele-grifa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants