Skip to content

Automatically exported from code.google.com/p/tableexport-for-vaadin

License

Notifications You must be signed in to change notification settings

lucasarnaud/tableexport-for-vaadin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TableExport Add-on for Vaadin 7

TableExport is a Data Component add-on for Vaadin 7. Legacy versions of the add-on that worked with Vaadin 6 should still be available on the Vaadin.com site.

Overview

  • Exporting data to Excel or CSV formats is a common task that comes up time and again. The solution can figured out from various forum posts but it takes a while to put everything together, especially the writing of the Excel file to the browser.
  • This add-on takes a Table as input and exports a decent Excel file containing the data in the Container. It also handles HierarchicalContainers and the resulting Excel file will have the categories and subcategories properly grouped/outlined.
  • There are a number of configurable properties. The user can specify a worksheet name, a report title, and an output file name. The user can also specify if there should be a Totals row at the bottom of the export. The user can pass in custom POI CellStyles. However, if none of these are specified, the user only needs to pass in a Table.
  • This add-on requires the Apache POI library.
  • This add-on requires the Apache Commons IO library (http://commons.apache.org/io/).
  • This add-on uses Charles Anthony's solution from: http://vaadin.com/forum/-/message_boards/view_message/159583
  • The included icon comes from the fugue open source (Creative Commons) icon set.

Building and running demo

  • git clone
  • mvn clean install
  • cd tableexport-demo
  • mvn jetty:run

License

Add-on is distributed under Apache License 2.0. For license terms, see LICENSE.txt.

About

Automatically exported from code.google.com/p/tableexport-for-vaadin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.1%
  • CSS 0.9%