Skip to main content

I have a LWC with a custom button to export data into xls format. I am able to export data in CSV format but in CSV styling cannot be added as it is a limitation in CSV that styling does not gets saved.

Please let me know if there is any other option to export data in xls format.

 

#Automation  #Nonprofit  #New Releases

1 个回答
  1. 2021年12月9日 10:37

    Wherever you have declared the filename in the component. you can add the extension there itself

    Ex:  fileName: 'file1.xlsx'