cancel
Showing results for 
Search instead for 
Did you mean: 

export type in sapui5 smart table

0 Kudos

Hello Everyone ,

can i change export type from xlsx to csv while exporting data from sapui5 table , actually i am having some speacial character in 1 data item , so exporting to xlsx is not working properly .

so , how i can solve that problem ?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member194549
Contributor
0 Kudos

Hi,

i don't know if you can change the export type of the SmartTable, but you can add your own toolbar to the table with your own button and export function.

https://ui5.sap.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable....

If you want to export as csv, follow this sample:

https://ui5.sap.com/#/entity/sap.m.Table/sample/sap.m.sample.TableExport

Regards
Simon