ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: hyh888 on February 24, 2024, 02:01:12 pm

Title: How to change the background color of summary (or subtotal) rows in pivot table?
Post by: hyh888 on February 24, 2024, 02:01:12 pm
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.
Title: Re: How to change the background color of summary (or subtotal) rows in pivot table?
Post by: paramvir on June 12, 2024, 09:46:05 pm
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