Hi, I am experience a problem with PivotMatrix.
I have just made sure I am using the latest versions of the packages. On a PivotMatrix report, i'm trying to implement the collapse level to start the report with the collapsed information, but it doesn't work.
I try with the code in the documentation but this only work with a PivotTable and I understand it should be work with both
PivotTable::create(array(
...
'rowCollapseLevels' => array(0),
'columnCollapseLevels' => array(0, 1, 2),
...
));
PivotMatrix::create(array(
"dataStore" => $dataStore,
"id" => "pivotMatrix1",
"columnCollapseLevels" => array(0),
"rowCollapseLevels" => array(0,1,2),
"rowSort" => array(
'cuenta' => 'asc'
),
'width' => '100%',
'totalName' => 'Total',
'headerMap' => array(
"cuenta" => 'Cuenta',
"estacion" => 'Estación',
"semana" => 'Semana',
),
'paging' => array(
'size' => 20,
'maxDisplayedPages' => 5,
'sizeSelect' => array(20, 50, 100, 500)
),
));
Kind regards,
Fernando.