Vaadin-grid: pdf/excel export

Created on 4 Feb 2016  Â·  7Comments  Â·  Source: vaadin/vaadin-grid

Any clue to export the content to PDF/Excel (web component version)?

Thanks, great grid!
--Nick

Most helpful comment

Excel and PDF exports would be great!!

All 7 comments

Hi, and thanks!

I don’t have any specific ideas to offer. As the data in the grid is just an array of objects, I think you should be able to build a custom solution just using that same data. So maybe just a "Export…" button next to the grid which triggers the PDF generation. I’m not sure if you can generate a PDF somehow in the client, though, so you probably need a server to do that.

Well, apparently you can generate PDFs in the browser: http://pdfkit.org

My grid contains a GeneratedPropertyContainerwith some columns populated with UI components like CheckBoxand Button. I want to export the textual data to an Excel sheet. Any idea on how to achieve the same?

@LazyCoder88 hi! Seems like you’re using the Vaadin Framework Grid component instead of the Polymer web component. You should ask questions related to that on https://vaadin.com/forum.

I'm closing this issue due to inactivity, leave a comment if you think it should be reopened.

I would like this re-opened. Excel and PDF exports are what we need for feature parity to stop using Kendo Grid.

Excel and PDF exports would be great!!

Was this page helpful?
0 / 5 - 0 ratings