This is the class I have defined
class ExcelReport extends \koolreport\KoolReport
{
use \koolreport\export\Exportable;
use \koolreport\excel\ExcelExportable;
}
and here's how I can export to excel
$report = new ExcelReport;
$report->run();
$report->exportToExcel()->toBrowser("MyReport.xlsx");
My question is, I have data stored in PHP array, how how can I export that data in excel. Please refer to the screenshot below:--
Thank You...