-
Notifications
You must be signed in to change notification settings - Fork 10
Exported pdf is 0 bytes #136
Copy link
Copy link
Closed
Description
Describe the bug
I am able to download the PDF file but it is 0 bytes and fails to open. All other file types download/open correctly.
Expected behavior
PDF should have content and open as expected.
Minimal reproducible example
var grid = new Grid<String>();
grid.addColumn(String::toString).setHeader("Name");
grid.addColumn(String::toString).setHeader("Email");
grid.setItems("A", "B", "C");
var exporter = GridExporter.createFor(grid);
exporter.setTitle("Grid Export Title");
exporter.setFileName("GridExport_" + new SimpleDateFormat("yyyyddMM").format(Calendar.getInstance().getTime()));
exporter.setAutoAttachExportButtons(true);
add(grid);
Add-on Version
2.3.2
Vaadin Version
24.4.3
Additional information
Chrome (latest)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
