Author Topic: How to change the background color of summary (or subtotal) rows in pivot table?  (Read 305 times)

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 130
    • View Profile
Dear Paramvir,
Is there any method for  changing the background color and font color of summary (or subtotal) rows in pivot table?
It seems there is no method for changing width of first column of pivot table too.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6255
    • View Profile
1) Summary row can be styled in column.render callback by differentiating the summary row from other rows with help of rowData meta data associated with summary row.

2) First column width in pivot can be set with help of column mimWidth and maxWidth properties.

Example: Group column in https://paramquery.com/pro/demos/pivot