Parts-in-Place / Vaadin_TableExport

Automatically exported from code.google.com/p/tableexport-for-vaadin
0 stars 0 forks source link

exported tables on different sheets have to have same propIds #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
from https://vaadin.com/forum/-/message_boards/view_message/579716

However, there's a strange behaviour according to me. I can export tables to 
different sheets only if the tables have the same column headers.
It looks that the attribute "propIds" of the ExportExcel class doesn't depend 
on the table that is being exported but on the first table that has been 
exported.

Original issue reported on code.google.com by jnas...@gmail.com on 16 Nov 2011 at 9:37

GoogleCodeExporter commented 8 years ago
Whenever the table is set, the propIds list needs to be updated as well.  Moved 
setting propIds to setTable().

Original comment by jnas...@gmail.com on 19 Nov 2011 at 8:24