Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
TableExport export one row
Hello,
The addon TableExport works very well, but do you know how to export just one row with Item Id = ... ?
How to select the rows to export?
Thank you.
You can easy extend com.vaadin.addon.tableexport.ExcelExport implementing just addDataRows method:
private Object idToExport;
public ExcelExport(final Table table, Object idToExport) {
this(table, null);
this.itemId = idToExport;
}
protected int addDataRows(final Sheet sheetToAddTo, final int row) {
addDataRow(sheetToAddTo, itemId, row);
return row + 1;
}
It's possible to download two different files by clicking the export button?
I want to export a css file and an audio file related to the css file, but when i call the funciton to export, i have just one window each time, not two windows one after another that i hope.
So is there another way to do it?