Skip to content

-extend `ReportViewer.allowExportToExcel` allowed values: ('xls'|'xlsx')

  • reportOptions.allowExportToExcel allow values 'xls' or 'xlsx'. ('xlsx' by default) in case 'xls' - saves html report as xls file, otherwise creates native xlsx file
$App.doCommand({
 cmdType: 'showReport',
 cmdData: {
   reportCode: 'your-report-code',
   reportType: 'html',
   reportParams: {a: 'b'},
   reportOptions: {
     allowExportToExcel: 'xls'
   }
 }
})

Merge request reports