How to export Grid with all headers and footers to .xlsx file

Hello,

I would like to ask how can I export Grid with all headers and footers to .xlsx file. I tried Vaadin add-on TableExport 1.6.2 (I’m using Vaadin 7.7.13) but exported file is not displaying Header Row nor Footer Row. Can anybody help me how to solve it?

Hi,

have you tried the Excel Exporter add-on (https://vaadin.com/directory/component/excel-exporter/1.0.8)? I think you can get the headers and footers with that.

-Katri

Hello,

thanks for your answer. Is somewhere also code sample for Vaadin 7? I need to export Grid with Hierarchical container and I followed steps in code samples, but I could not find ExportExcelConfigurationBuilder and as I’m using Hierarchical container, I’m not using any “DataModel”. Could you help me, please?

And also I have question, if it is possible to export more tables in different sheets.
Thanks.