Perform Styling in the excel download using javascript/jquery

Dinesh 1 Reputation point
2021-11-03T10:44:11.857+00:00

i am trying to export the selected records of a sharepoint List as an excel. First i place the selected record information in an html table and convert it as an excel using XLSX.utils.table_to_book. then i am downloading using XLSX.writeFile function. The downloaded excel has so many columns and data. So i would like to style it(like colured headings, width of the cell etc ). kindly suggest how to do it.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
446 questions
No comments
{count} votes