Closed GoogleCodeExporter closed 9 years ago
This was relatively easy to implement. Added the following to addDataRow in
ExcelExport:
vaadinAlignment = this.table.getColumnAlignment(propId);
if (Table.ALIGN_LEFT == vaadinAlignment) {
sheetCell.getCellStyle().setAlignment(CellStyle.ALIGN_LEFT);
} else if (Table.ALIGN_RIGHT == vaadinAlignment) {
sheetCell.getCellStyle().setAlignment(CellStyle.ALIGN_RIGHT);
} else {
sheetCell.getCellStyle().setAlignment(CellStyle.ALIGN_CENTER);
}
Original comment by jnas...@gmail.com
on 8 Sep 2011 at 7:47
Original issue reported on code.google.com by
jnas...@gmail.com
on 8 Sep 2011 at 6:06