Two-row headings where some headings span multiple columns #3920
-
Hello, Is it possible to achieve 2-row headings with Laravel-Excel? If so, is it possible to make it span multiple columns for certain headings? I need the following table structure:
Right now in my export file I have a simple headings method which only returns a single row headings:
In the following example the headings span 2 rows, however not multiple columns:
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
patrickbrouwers
Apr 20, 2023
Replies: 1 comment 1 reply
-
You are looking for |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ghgene
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are looking for
$sheet->mergeCells('A2:A5');
which can be done in an AfterSheet event