-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setReadDataOnly function is deprecated or missing #3943
Comments
|
What is |
It should be a string but with or without setreaddataonly it is no
use.....it reads it like a date....
Στις Κυρ 10 Μαρ 2024, 10:24 μ.μ. ο χρήστης Mark Baker <
***@***.***> έγραψε:
… Some numbers like 3.2.11 is read 3 february 2012
What is 3.2.11? It certainly isn't a number
—
Reply to this email directly, view it on GitHub
<#3943 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNYROWSHMGCJ3YJVOKSK2TYXS6PTAVCNFSM6AAAAABEPF5VZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM2TCOJVGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
If this was an Excel xls or xlsx file, then it should be defined as a string in the file, and treated as such by PhpSpreadsheet. |
No update in 5 months, closing. |
This is:
What is the expected behavior?
The function should exist didnt found any deprecated issue.
What is the current behavior?
Some numbers like 3.2.11 is read 3 february 2012
Which versions of PhpSpreadsheet and PHP are affected?
Newest i use composer
Iam trying to use setReadDataOnly(true) but vs code writes me its undefined. Iam using composer to install the library and It is working except this function. I try the below code :
$reader = IOFactory::createReader('Xlsx');
$spreadsheet = $reader->load($file['tmp_name']);
$worksheet = $spreadsheet->getSheet(9);
$worksheet->getParent()->setReadDataOnly(true);
The text was updated successfully, but these errors were encountered: