I use Pivot 2D and we need custom name of column in excel as well in HTML, because of it is not a value return by database, the values is already in view part of file as headerMap switch case but if we place this value in column then it show it will show {{other}} in html and exported excel.
->pipe(new Pivot2D(array(
"dimensions"=>array(
"column" => "dateyear, quantity - sum", OR "column" => "dateyear, Total Quantity",
"row" => "users_zone_c",
),
in view part
'headerMap' => function($v, $f) {
switch ($v) {
case 'quantity - sum': return 'Total Quantity';
Please help us to fix this
but when i export it into the excel sheet its look like this
you can see that in excel file there is no any column header show, like in GUI in browser e.g. Service Charge, Parts Charges etc.

but i want all heading name in it, you can see that excel file has no any heading for column G,H,I,J,K,L,M,N,O and we need this because without that we can not recognise that what is represent by the column it self.