Hi Parth Rawal,
Kindly use “aggregateCellInfo” event to customize pivot table value cells. Please refer to the following code example.
Code Example:
[app.component.html]:
<ejs-pivotview #pivotview id='PivotView' (aggregateCellInfo)='aggregateCellInfo($event)'>
</ejs-pivotview> |
[app.component.ts]:
aggregateCellInfo(args) {
if (args.fieldName === 'Products') {
args.value =
args.rowCellType === 'grandTotal'
? ''
: args.cellSets[0][args.fieldName];
}
}
|
Meanwhile, we have prepared a sample for your reference.
Please let us know if you have any concerns.
Regards,
Manikandan