Can I get the same column from DB to excel multiple times ? #169
Answered
by
pxlrbt
Alsanea-Ala
asked this question in
Q&A
-
but it seem it dose not work |
Beta Was this translation helpful? Give feedback.
Answered by
pxlrbt
Jan 4, 2024
Replies: 1 comment 2 replies
-
Yes, but they need a unique name: Column::make('name_1')->getStateUsing(fn ($record) => $record->name)->heading('Teacher'),
Column::make('name_2')->getStateUsing(fn ($record) => $record->name)->heading('Teacher'),
Column::make('name_3')->getStateUsing(fn ($record) => $record->name)->heading('Teacher'), |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pxlrbt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, but they need a unique name: