ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: omerix on December 04, 2019, 04:09:13 am

Title: Token/Mark in Title Rows and Total rows
Post by: omerix on December 04, 2019, 04:09:13 am
Hello,

I am actively using the Grouping and Pivot table.

Group and Pivot tables. First rows of the first cell "pq-group-title-cell" class is added.

But the total lines do not have this feature.

My client wants me with the title and total lines in different fonts.

Can I offer a solution?

The code I use for title.

Code: [Select]
,complete: function(){
     $('.pq-group-title-cell').parent('div').css('backgroundColor', '#a9d08e');
}

Thanks
Title: Re: Token/Mark in Title Rows and Total rows
Post by: paramvir on December 04, 2019, 11:57:43 am
Result of using jquery css method to manipulate styles won't persist because of virtual rendering in grid whereby the rows / cells are created and destroyed as the view is scrolled.

Please check this demo to learn application of conditional styles.

https://paramquery.com/pro/demos/condition_style

Please let me know if you need further assistance.