tsaho8
03-14-2023Cloud Apps
Custom color for pivot table header
Hi Team,
I want to give background color and text color of the header in bellow screenshot.
- 03-14-2023
Hey tsaho8
Try this widget script:widget.transformPivot({ rowIndex: ['member'] }, function setCellStyle(metadata, cell) { if(metadata.rowIndex == 0){ cell.style.color = 'black'; cell.style.fontWeight = 'bold'; cell.style.background = 'linear-gradient(0deg, rgba(83,199,251,1) 0%, rgba(243,251,251,1) 100%)'; } });
Always here to help,
Alek from QBeeQ
[email protected]
QBeeQ - Gold Implementation and Development Partner
www.qbeeq.io