KoolReport's Forum

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

Last row split on PDF Export #1062

Open Luis Rubén González Cuevas opened this topic on on Aug 27, 2019 - 2 comments

Luis Rubén González Cuevas commented on Aug 27, 2019

Hi Everybody!!

I have a problem with the Export Library, when i try to export a PDF the last row split on each page.

Someone can help me!!!

$report = new ReporteConsumos($array_data);
        $report->run()->export('ReporteConsumosPdf')
                    ->pdf(array(
                        "format"=>"A4",
                        "orientation"=>"landscape",
                    ))->toBrowser("ReporteConsumos.pdf");

Best Regards!

Luis Rubén González Cuevas commented on Aug 27, 2019
Table::create(array(
                    "dataSource"=>$this->dataStore("data"),
                    "showFooter"=>true,
                    "columns"=>$columns,
                    "cssClass"=>array(
                        "table"=>"table table-striped table-bordered table-condensed text-table table-responsive",
                        "th"=>"text-center bg-blue"
                    ),
                    "headers"=>array(
                        array(
                            "DATOS CONSUMOS"=>array("colSpan"=>13, "class"=>"text-center bg-blue"),
                        )
                    )
                ));
KoolReport commented on Aug 28, 2019

This is an known issue with phantomjs, could you please try the cloudexport package to see how.

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