tes001 / tableexport-for-vaadin

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

ExportableColumnGenerator should not return com.vaadin.data.Property #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At the moment ExportableColumnGenerator.getGeneratedProperty() return a 
Property and the toString-method is called and this result is used to be 
displayed in excel cell.
We use toString methods for debugging and get a lot of information in log 
files. So the output is not intented to be displayed in the exported excel cell.

Solution:
Let the getGeneratedProperty() return a type which makes sense for excel 
(Number, String) and let the user implement the return value like it's done in 
ColumnGenerator.generateCell()

What version of the product are you using? On what operating system?
vaadin 7.1.9
table export 1.5.1.1

Original issue reported on code.google.com by christop...@gmail.com on 7 Apr 2014 at 8:53