Use the GridJs File menu download entries to export the workbook as the original file, XLSX, PDF, or HTML, or route the export through a custom download callback.... JavaScript API Configure the built-in download...setFileDownloadInfo(url) . const xs = x_spreadsheet ( '#gridjs-demo-uid' , options...