Export Table as CSV?

Hey,

how can i export data of a table via csv? I heard it is possible with CsvExport? Is this a plugin? Its not inlcude in my vaadin installation.
Can someone help me?

I find this, but CsvExport is not available :frowning:

                CsvExport csvExport;
                csvExport = new CsvExport(_table);
                csvExport.setDisplayTotals(false);
                csvExport.setDoubleDataFormat("0");
                csvExport.excludeCollapsedColumns();
                csvExport.setReportTitle("Document title");
                csvExport.setExportFileName("Nome_file_example.csv");
                csvExport.export();

Thx

Hi,

it’s not part of the core vaadin framework. Try this add-on:
http://vaadin.com/directory/#addon/exporter:vaadin