Menu

#241 WYSIWYG Export or how to export ComboColumn data

v1.0_(example)
open
nobody
None
5
2013-11-07
2013-11-07
begie
No

When you export data from grid which has one or more ComboColumns using Domain class to show value descriptions in the exported data this Domain class is not taken into account. As a result instead of value descriptions (which are visible in the grid) "raw" values are exported.

This can be easily reproduced using demo10. Simply export data from the "Employees in the editable grid". Note that instead of names of week days there are numbers in the exported data.

I've fixed this problem by a fairly small modification of the framework. All details can be seen on bitbucket.

Key changes including ExportToExcel fix:
https://bitbucket.org/begie/openswingex/commits/e969c3abc909a6a00b09ef6f4b6a1987c3597f8a

Similar changes to other ExportTo* classes:
https://bitbucket.org/begie/openswingex/commits/2cccf2a9666f5dddf328036166e954e6d843cc42

Best regards,
Bartek

Discussion


Log in to post a comment.