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

PNG only exports viewable portion of table #191

Closed
schutze opened this issue Sep 15, 2017 · 2 comments
Closed

PNG only exports viewable portion of table #191

schutze opened this issue Sep 15, 2017 · 2 comments

Comments

@schutze
Copy link

schutze commented Sep 15, 2017

The PNG option only exports the portion of the table that is currently viewable in the browser window. If you lower the browser magnification, more rows of the table are included in the exported PNG.
The PNG option should export the entire HTML table and not just the rows that are currently shown.

@hhurz
Copy link
Owner

hhurz commented Sep 18, 2017

This plugin uses html2canvas to export a html table as png image. The result image is a screenshot of the table as you can see it on the screen.

@simogeo
Copy link
Contributor

simogeo commented Sep 21, 2017

Which is a weired behavior, indeed.
Here is a discussion related to this "feature" : niklasvh/html2canvas#622 (comment)

For my part, I added a piece of js to export my whole table. You should just scroll to top before exporting to PNG. Not very user friendly but at least, it works.

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