Export #79
Unanswered
anishsarkar
asked this question in
Q&A
Export
#79
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am looking for export feature of my resource. I am using Spatie\SimpleExcel. So far I have been able to write the csv file (I am happy with csv, no need for excel, but I guess once that csv works, excel would also work).
Here is my code
This seems to work. The file is written in the disk with appropriate data. But I am trying to stream the file to the browser. So I am trying the suggested streamDownload and toBrowser in the documentation of SimpleExcel. Here is the code (this does not work)
But this neither showing in browser or asking the browser to download it. Thanks in advance for any help to overcome this.
Beta Was this translation helpful? Give feedback.
All reactions