Hi!
It seems that SmartGWT will export both \r and \n as Line Feed character (\r not export as Carriage Return character) when export to xlsx (tested on SmartGWT 6.0p 2019-02-09 release).
This is the sample UI:
This is the sheet1.xml extracted from the xlsx. All \n and \r combination are exported as "

":
sheet1.xml
Following is sample codes:
client: FrmMainSearch.java
ds: customDataSource_user.ds.xml
server: UserDataSource.java
As different version of Microsoft Excel will handle cell containing <CR> and <LF> in xlsx differently, I would like to be able to export \n as Line Feed character and \r as Carriage Return character, but tested many ways with no success. Any suggestion how I can achieve that?
Thank you very much!
It seems that SmartGWT will export both \r and \n as Line Feed character (\r not export as Carriage Return character) when export to xlsx (tested on SmartGWT 6.0p 2019-02-09 release).
This is the sample UI:
This is the sheet1.xml extracted from the xlsx. All \n and \r combination are exported as "

":
sheet1.xml
Following is sample codes:
client: FrmMainSearch.java
ds: customDataSource_user.ds.xml
server: UserDataSource.java
As different version of Microsoft Excel will handle cell containing <CR> and <LF> in xlsx differently, I would like to be able to export \n as Line Feed character and \r as Carriage Return character, but tested many ways with no success. Any suggestion how I can achieve that?
Thank you very much!
Comment