KoolReport's Forum

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

How to add Bootstrap, jQuery and FontAwesome to a report? #20

Open Peter Williams opened this topic on on Jun 10, 2017 - 1 comments

Peter Williams commented on Jun 10, 2017

Starting from the KoolReport 1.27.6, we can added client-side library like Bootstrap, jQuery to view very easy like below:

<?php
class MyReport extends \koolreport\KoolReport
{
    use \koolreport\clients\jQuery;
    use \koolreport\clients\Bootstrap;
    use \koolreport\clients\FontAwesome;
    
}

If you want to add only Bootstrap CSS, you can do:

<?php
class MyReport extends \koolreport\KoolReport
{
    use \koolreport\clients\BootstrapCSS;
    
}

Easy, isn't it?

thailon commented on Jan 13, 2021

Great, took me 1 hour not to find it in documentation :( or Am I wrong?

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
wiki

None