You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1.62
What version of Laravel are you using?
11.36.1
What version of PHP are you using?
8.3.17
Describe your issue
When exporting excel, if WithHeadings and WithMapping are used, if headings() returned with first cell empty (null or ''), the first row will be written to top-left cell of heading (and overwrite heading cells).
Try to put a space (or something non-empty) in the first cell, unfortunatly there's no other good way to determine if the first row has already been used.
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.62
What version of Laravel are you using?
11.36.1
What version of PHP are you using?
8.3.17
Describe your issue
When exporting excel, if
WithHeadings
andWithMapping
are used, ifheadings()
returned with first cell empty (null
or''
), the first row will be written to top-left cell of heading (and overwrite heading cells).How can the issue be reproduced?
This will product with
$row->field
rendered in cellA1
.What should be the expected behaviour?
The
$row->field
rendered to cellA2
with on row of header.The text was updated successfully, but these errors were encountered: