Skip to content

Makes it possible to export Vaadin Grids to different formats

License

Notifications You must be signed in to change notification settings

xdev-software/vaadin-grid-exporter

Repository files navigation

Published on Vaadin Directory Latest version Build Quality Gate Status Vaadin 24+

vaadin-grid-exporter

The Vaadin Grid Exporter can convert any Vaadin Grid to a variety of formats. Out of the box supported formats:

  • CSV
  • Word (DOCX)
  • HTML
  • ODS
  • ODT
  • PDF
  • PowerPoint (PPTX)
  • RTF
  • Plain text
  • Excel (XLSX)

It's also easy to extend the Exporter to support your custom format.

Default usage:

GridExporter
	.newWithDefaults(this.grExamples)
	.open();

Custom format (see JsonGridExporterProvider from Demo):

GridExporter
	.newWithDefaults(this.grExamples)
	.loadFromProvider(new JsonGridExporterProvider())
	.open();

demo

Installation

Installation guide for the latest release

Compatibility with Vaadin

Vaadin version GridExporter version
Vaadin 24+ (latest) 3+
Vaadin 23 2.x

Run the Demo

  • Checkout the repo
  • Run mvn install && mvn -f vaadin-grid-exporter-demo spring-boot:run
  • Open http://localhost:8080
Show example

demo

Support

If you need support as soon as possible and you can't wait for any pull request, feel free to use our support.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.

Dependencies and Licenses

View the license of the current project or the summary including all dependencies