KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Putting a header on datastore prior to exporting it #1666

Open Richb201 opened this topic on on Oct 16 - 2 comments

Richb201 commented on Oct 16

I have about 25 datastores that I am exporting to 25 worksheets in a workbook in Excel with the below command:

$report->run()->exportToExcel()->toBrowser($this->session->userdata('campaign')."_workbook.xlsx");

I'd like to add a few rows at the top of each worksheet with info about the username, date of execution, company, etc. Is this possible to easily do?

Richb201 commented on Oct 16

Sorry, I meant putting not purring! BTW, I found the exporting with a template.

David Winterburn commented on Oct 19

Hi Richard,

Yes, exporting to excel with template would help in this case. Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None