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?