KoolReport's Forum

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

How can I render another view with same report? #6

Open Marty opened this topic on on Apr 28, 2017 - 3 comments

Marty commented on Apr 28, 2017

I need to create two reports, although they look rather different but their data source and data process are the same. Can they share the same report core?

Peter Williams commented on Apr 28, 2017

You can!

Create another view MyReport.another.view.php which contain new view, then you can do:

$myreport = new MyReport;
$myreport->run()->render('MyReport.another');

Hope that helps.

piyush chandak commented on Jan 17, 2020

Can we send our report on page other than Report.view.php i.e in View part of Codeignitor..?

KoolReport commented on Jan 17, 2020

In general, the koolreport deal with view of koolreport only. You may render view of koolreport inside the view of CodeIgniter.

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