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

Pagination for slideObj.addTable() ? #21

Closed
TheDorkSide74 opened this issue Jan 9, 2017 · 5 comments
Closed

Pagination for slideObj.addTable() ? #21

TheDorkSide74 opened this issue Jan 9, 2017 · 5 comments
Assignees
Milestone

Comments

@TheDorkSide74
Copy link

I'm absolutely loving this project so far, thanks for the great work!

Is an option for automatic pagination in slideObj.addTable() in the works? This is the one thing that's preventing me from being able to use this project in production.

@gitbrent gitbrent self-assigned this Jan 10, 2017
@gitbrent
Copy link
Owner

Thanks for the feedback!

You know, that's a good idea. The addSlidesForTable method does pagination now, so I should be able to just take an addTable() object and work with that to create slides as needed...

@itskun
Copy link

itskun commented Jan 31, 2017

Can you explain how to apply this method to a particular table? I do not quite understand how it works from the example.

@gitbrent
Copy link
Owner

gitbrent commented Feb 2, 2017

Hi @itskun,

What the submitter requested (automatic paging of tables across slides) isn't completed yet.

You can use addSlidesForTable() if you have an HTML table you're trying to place in a Presentation.

@TheDorkSide74
This is done in my local branch and i'm working on updating the demo page and docs now.

gitbrent pushed a commit that referenced this issue Feb 5, 2017
@gitbrent
Copy link
Owner

gitbrent commented Feb 5, 2017

Hi Guys @TheDorkSide74 @itskun,

Tables auto-page now and i've included an example of this new feature in the examples/pptxgenjs-demo.html file.

Let me know how they work or if you have any feedback.

@gitbrent gitbrent added this to the v1.2.0 milestone Feb 5, 2017
@gitbrent
Copy link
Owner

The version checked in today (APP_REL = "20170209") fixes some minor issues with table paging and i've added some more examples to the demo page

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

3 participants