Skip to content
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

[Bug]: Export From View Using ColSpan is broken layout #3897

Closed
1 task done
vuhust19081995 opened this issue Mar 20, 2023 · 1 comment
Closed
1 task done

[Bug]: Export From View Using ColSpan is broken layout #3897

vuhust19081995 opened this issue Mar 20, 2023 · 1 comment
Labels

Comments

@vuhust19081995
Copy link

vuhust19081995 commented Mar 20, 2023

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.44

What version of Laravel are you using?

8.83.27

What version of PHP are you using?

8.1.0

Describe your issue

I am using export feature from view. When i use colspan from Y column, it is not working and broken layout.
2023-03-21_10-19

How can the issue be reproduced?

<style> table, th, td { border: 1px solid black; border-collapse: collapse; } </style>

Operation Calendar Table

Production Date March - 2023
W1 W2 W3 W4 W5
ABC ABCD 27/02/2023 28/02/2023 01/03/2023 02/03/2023 03/03/2023 04/03/2023 05/03/2023 06/03/2023 07/03/2023 08/03/2023 09/03/2023 10/03/2023 11/03/2023 12/03/2023 13/03/2023 14/03/2023 15/03/2023 16/03/2023 17/03/2023 18/03/2023 19/03/2023 20/03/2023 21/03/2023 22/03/2023 23/03/2023 24/03/2023 25/03/2023 26/03/2023 27/03/2023 28/03/2023 29/03/2023 30/03/2023 31/03/2023 01/04/2023 02/04/2023
1 ABC ABCD 5
2 MD ABCD 4 4

This is html code after generate

What should be the expected behaviour?

Need colspan from column Y correct, correct layout (not broken)

@patrickbrouwers
Copy link
Member

Colspans in html are handled by phpspreadsheet, best to report over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants