KoolReport's Forum

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

Newbie warning: how to include default styles #1947

Open Steven opened this topic on on Mar 5, 2021 - 1 comments

Steven commented on Mar 5, 2021

Just starting, created my own report. It worked by it does not have any style. Super plain.

So I then followed the Get Started, thought Id miss something. The SalesByCustomer, also behaves the same no styles applied.

I thought autoload would load default styles. Do I need to code them in? Tks

KoolReport commented on Mar 7, 2021

Please add the following statement to your report class:

class MyReport extends KoolReport
{
    use \koolreport\clients\Bootstrap; // <--- Add this
}

This will provide add the bootstrap css to your report.

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
None yet

None