KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Templates structure #2633

Open pooja dhotre opened this topic on on Apr 7, 2022 - 5 comments

pooja dhotre commented on Apr 7, 2022

Can we create a template report and use it for different set of data?

Sebastian Morales commented on Apr 8, 2022

Yes, certainly you can. For example, a crude approach:

//MyReport.view.php
$title = "...";
$datastore = $this->dataStore("...");
include "MyReportTemplate.view.php"; // which uses $title, $datastore, etc to display result
pooja dhotre commented on Apr 8, 2022

That worked. Thanks a lot Sebastian for help.

pooja dhotre commented on Apr 8, 2022

Can we export reports to CSV and DOCS?

Sebastian Morales commented on Apr 8, 2022

CSV, yes, you can:

https://www.koolreport.com/docs/excel/export_to_csv/

Docs is not supported yet. We will consider it in the future version of KoolReport. Rgds,

claratking commented on Aug 25, 2023

Great question! Creating a template report is a fantastic way to optimize your work and maintain a consistent structure across different datasets. Using templates allows you to focus more on the content itself rather than starting from scratch every time.

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
help needed

None