KoolReport's Forum

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

$this->dataStore('cliente') #802

Open Patricio Díaz Cornejo opened this topic on on Apr 14, 2019 - 1 comments

Patricio Díaz Cornejo commented on Apr 14, 2019

Estimados, usando la siguiente configuración, muestra el dato literal y no el valor del objeto $this->dataStore.

                  $report = new MyReport();
                  $report->run()->render();

                  use \koolreport\datagrid\DataTables;

                  DataTables::create(array(
                    "dataSource"=>$this->dataStore("cliente"),
                      "options"=>array(
                        "select"=>true,
                    )
                  ))

KoolReport commented on Apr 15, 2019

It seems to me that you do not have the view file that why the report load debug view. Please try to add the report file MyReport.view.php for example.

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

DataGrid