openspout
openspout copied to clipboard
Inconsistent number of cells per row
If I read Excel_template_500Users.xlsx, rows until row 16 (Uer15) have consistent dimension (20 cells), after that (User16) it's reduced to 5 cells
What do you mean by "read"? Can you translate your issue into a reproducible test case?
This should reproduce the issue
$reader = new \OpenSpout\Reader\XLSX\Reader();
$reader->open($filePath);
foreach ($reader->getSheetIterator() as $sheet) {
foreach ($sheet->getRowIterator() as $key => $row) {
var_dump($key, $row->toArray());
}
}
We have run into this problem again.
It's entirely different file, but dimensions change again after key 16