I would like to display the different section names in the header. There is a callback function but how do I implement it in koolreport?
This is my code in the export.php:
"header"=>array(
"height"=>"30px",
"contents"=> array(
'callback'=>'function (pageNum, numPages) {
return "<p>Page " + pageNum + " of " + numPages + "</p>"; //WORKS fine
}'
),
),