Here is exporting options that we use:
exportPlugin.downloadFile(‘csv’, {
columnDelimiter: ‘,’,
columnHeaders: true,
filename: ‘PO_Detail-CSV-file_[YYYY]-[MM]-[DD]’,
});
In my columns array, Catalog # is set to be text type.
Thank you. The issue has been resolved. We have decided to generate an Excel file on the backend, utilizing data and column headers from a grid. Subsequently, we will transmit this Excel file back to the client’s browser. Here’s an example that might be useful for someone. Just use any library that lets create and convert excel file to blob.