I want make a header like this :
i try with a column for print the mysql data, but if i want to make header like the pic, i need use header group to print the mysql data, can i print mysql data on header code? thanks
this my view code
<?php
use \koolreport\instant\Widget;
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>MyReport</title></title>
</head>
<body>
<h1>MyReport</h1>
<h3>List all Elevator</h3>
<?php
// Table::create(array(
// "dataStore"=>$this->dataStore("elevator"),
// "class"=>array(
// "table"=>"table table-hover"
// )
// ));
Table::create(array(
"dataStore"=>$this->dataStore("material"),
"columns"=>array(
"WPS"=>array(
"label"=>"WPS"
),
"DRAWING NO"=>array(
"label"=>"DRAWING NO",
),
"LINE NO"=>array(
"label"=>"LINE NO",
),
"JOINT NO"=>array(
"label"=>"JOINT NO",
),
),
"headers"=>array(
array(
"MATERIAL"=>array("colSpan"=>1),
)
),
"paging"=>array(
"pageSize"=>10,
),
"cssClass"=>array(
"table"=>"table-bordered table-striped table-hover"
)
));
?>
</body>
</html>
and this the result