Replies: 2 comments 1 reply
-
The call to |
Beta Was this translation helpful? Give feedback.
0 replies
-
However, if only part of the data is in an Xlsx file, it suggests that not all of the data has been included in the file; a partly-written Xlsx file would be corrupted, and wouldn't open in Excel |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering if there's a proper way to know if the spreadsheet file has been fully and completely saved.
At the moment, I have a XLSX writer:
$writer->save($docPath);
After this piece of code I'm writing the the file path into my DB so that I can show it to the user for download purposes, the issue that I'm currently having is that apparently the record on my DB is been shown before the spreadsheet file has finished writing all the information into it, thus some users download the file with just half of the data in it (if they click the download button too early).
Any recommendations for this issue?
Beta Was this translation helpful? Give feedback.
All reactions