Replies: 3 comments 5 replies
-
Are you using the DataTable service class? If yes, you can override protected $exportColumns = []; See https://yajrabox.com/docs/laravel-datatables/master/export-column for ref. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, thanks for responding, I will check it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Btw, you can also use Column::computed('action')->exportable(false)->printable(false); |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary of problem or feature request
Problem: Export is too slow
Reason?: I think the problem is that the action column is processed for each line
If I skip the action column (in my case with 20k records) export speed is many times faster.
Code snippet of problem
Actual work around
I found this using
strace
There was one of this chunks per row (user in this case).
This a simplified part of the strace output:
Even though the column is not exported, it's being processed.
I hope I got right and I am not confused about this.
Thanks!
System details
Beta Was this translation helpful? Give feedback.
All reactions