Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Does not work follow the same problem.
<form id='form1' class="form-inline" method="post">
<?php
\koolreport\pivot\widgets\PivotMatrix::create(array(
"dataStore" => $this->dataStore("chequesPosfechadosPivot"),
"name" => "PivotMatrix1",
'paging' => array(
'size' => 10,
'sizeSelect' => array(5, 10, 20, 50, 100)
),
'rowSort' => array(
'FECHA' => 'asc'
),
"scope" => array(
"_token" => csrf_token(),
),
'template' => 'PivotMatrix-Bun',
"rowDimension" => "row",
"columnDimension" => "column",
'showDataHeaders' => false,
'hideTotalRow' => false,
'hideTotalColumn' => false,
'hideSubtotalRow' => false,
'hideSubtotalColumn' => true,
'rowCollapseLevels' => array(0),
'columnCollapseLevels' => array(0),
'totalName' => '<b>TOTAL</b>',
'headerMap' => array(
'VALOR - sum' => 'CLIENTE | NÚMERO DE CHEQUE',
'0000-00-00' => 'ANTES',
'9999-12-31' => 'DESPUÉS'
),
'cssClass' => array(
'dataCell' => function ($value, $cellInfo) {
return 'text-right small';
},
'columnHeader' => function ($header, $headerInfo) {
return 'bg-success small';
},
'rowHeader' => function ($header, $headerInfo) {
return 'small';
},
),
));
?>
</form>
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo