Replies: 1 comment 2 replies
-
Thank you @akulmehta . I've opened a Pull Request for this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
v6.5.3
Livewire version
v3.6.4
Laravel version
v12.24.0
Which PHP version are you using?
PHP 8.4
Which Theme are you using?
Tailwind
Have you published the resource files and customized them? (php artisan vendor:publish)
No
What is the problem?
When creating a table with the datasource of collection and applying the code necessary to export the table as CSV or Excel, the export gives an error of
Call to a member function whereIn() on array
.Here is the screenshot of the stacktrace.
Code snippets
I simply created a new PowerGrid table with the datasource of collection, I added the
withExport
trait and used it as per documentation and it gives me the error.Here is the file I had:
How do you expect it to work?
I would like to be able to export a table as Excel and CSV for tables which have the datasource of collections.
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions