KoolReport's Forum

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

Cloudexport without view #3014

Open Long opened this topic on on Mar 20, 2023 - 5 comments

Long commented on Mar 20, 2023

Can i do Cloudexport without view ?

Sebastian Morales commented on Mar 21, 2023

Yes, you can, by simply using the report's web view itself instead of a separate pdf view:

$report = new MyReport();
$report->run()->cloudExport("MyReport")
...
Long commented on Mar 24, 2023

Can you be more specific ? I want cloudExport without file fileName.view.php

$report = new MyReport();
$report->run()->cloudExport()->...
Sebastian Morales commented on Mar 24, 2023

Without a web or pdf view file, which content do you want a report to export by default?

Long commented on Mar 28, 2023

I want to export PDF file on button click. For example : The user click on button and it export to PDF without preview ( data process inside controller )

David Winterburn commented on Apr 3, 2023

KoolReport so far has needed a view file for either web or pdf rendering but your idea of rendering all data by default (maybe with table format) is a good idea. We will consider it in the future version of KoolReport. Tks,

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
suggestion

CloudExport