Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Yes, it is possible.
On the view you add:
<a target="_blank" href="export.php">Download PDF</a>
And in the export.php, you do:
...
$report->export()->pdf()->toBrowser("myfile.php",true);
The second true
parameter in the toBrowser()
function indicate that PDF will open on browser instead of download forcing. And together with target='_blank'
on the <a>
the browser will open pdf file in a new separated window.
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo