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

Table-to-Slides issue #284

Closed
svaak opened this issue Feb 7, 2018 · 2 comments
Closed

Table-to-Slides issue #284

svaak opened this issue Feb 7, 2018 · 2 comments

Comments

@svaak
Copy link

svaak commented Feb 7, 2018

I am having an issue when trying to generate a html table to PowerPoint using the Table-to-Slides feature. The table appears fine on my SharePoint site but when I open the generated PowerPoint it shows a lot of extra columns. Below is my basic HTML test table and attached is a screenshot of the PowerPoint generated. The problem seems to happen only if I include colspan.
**

First Name Last Name Count TestColumn1 TestColumn2 TestColumn3
Jill Smith 50 1 2 3 4
Eve Jackson 94
**

issueimg
issueimg2

I tried editing the pptxgenjs-demo.html file by adding in the colspan attribute for the Table to slides table and the same thing happens there as well when the PowerPoint is generated.

@gitbrent
Copy link
Owner

Hi @svaak,

Thanks for letting me know about this. The colspan logic broke a while back and i had no test for it, hence the bug.

Issue is now fixed in the main branch and i've added a new demo section for colspans

screen shot 2018-02-18 at 23 11 22

screen shot 2018-02-18 at 23 11 52

gitbrent pushed a commit that referenced this issue Feb 23, 2018
@svaak
Copy link
Author

svaak commented Feb 28, 2018 via email

ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this issue Mar 24, 2020
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this issue Mar 24, 2020
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this issue Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants