Closed vdussan closed 8 months ago
$result = [];
$sheet->readCallback(function ($row, $col, $val) use(&$result) {
$result[$row][$col] = (string)$val;
});
var_dump($result);
I try this method, but when I fill cell with leading zero then it will be eliminated. Something like 043435543 will be 43435543.
Currently when using the $sheet->readRows() method;
This returns the contents of the cells converted to integers, I need to get the cells in text format.