Page_Exported Summary Report (v2025)

Hi everyone,

How can I custom an excel export for my summary report? I know for views and tables that event exists, but for Reports?, How can I do it?

I'm using the extension PhpSpreadsheet, I already know how to use it, I just want to know for the reports hoy can I use it?

Thanks

Phpmaker version v2025.12

It depends on what you want to customize. Note that summary reports are exported from the HTML of the page (not from database data directly), so in general you may customize the export class and override the loadHtml() method to manipulate the HTML. Also read Customizing Export (v2021).

Thanks. I understand that I need to override ExportExcel::loadHtml() for a Summary Report.
However, the example using Config("EXPORT_CLASSES.excel", "MyExportExcel") says it is for tables only and not applicable to reports.
In PHPMaker 2025, how should I register or replace the ExportExcel class specifically for a Summary Report so that my overridden loadHtml() method is used?

It is similar. In v2025, there was "REPORT_EXPORT_CLASSES.excel" for exporting to Excel for reports.

Excelent! Thank you, It works