Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
<?php
namespace Name/Space;
use \koolreport\dashboard\fields\Text;
use AutoMaker;
use koolreport\dashboard\widgets\Table;
class BugExample extends Table
{
protected function dataSource()
{
return AutoMaker::rawSQL("SELECT
ColumnName
FROM
db.table");
}
protected function fields()
{
return [
Text::create("ColumnName"),
];
}
}
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo