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 answer
  1. Dec 9, 2021, 10:37 AM

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

    Ex:  fileName: 'file1.xlsx'