KoolReport's Forum

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

CSS issue in KoolReport #256

Open Jeff Baker opened this topic on on Apr 19, 2018 - 1 comments

Jeff Baker commented on Apr 19, 2018

Trying out KoolReport, but running into a css issue. Comparing it to what it SHOULD look like, the grid is way off and the pager is not even close.

Here is the code:

<?php
Table::create(array(
    "dataStore"=>$this->dataStore('opportunity_test_long'),
        "columns"=>array(
            "projectName"=>array(
                "label"=>"Customer"
            ),
            "projectVolunteers"=>array(
                "type"=>"number",
                "label"=>"Volunteers",
				"prefix"=>"$"
            )
        ),
    "cssClass"=>array(
        "table"=>"table table-hover table-bordered"
    ),
	"paging"=>array(
            "pageSize"=>10,
            "pageIndex"=>0,
            "align"=>"center"
        )
));
?>
KoolReport commented on Apr 19, 2018

In your report class file, you do this:

class MyReport extends \koolreport\KoolReport
{
    use \koolreport\clients\Bootstrap; // <- This help to add styling to report
    ...
}

Let me know if you need any further assistance.

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
solved

None