I have a datasource called DS_EXCEL, where data is binded to a Crosstab called CROSSTAB_EXCEL.
Then i use a button click event to trigger below scripts to export crosstab data to excel.
APPLICATION.export(ExportType.EXCEL_xlsx,CROSSTAB_EXCEL);
I got the error once i clicked the button to trigger the export scripts..