ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: wmwa on April 28, 2015, 07:48:38 pm
-
I am looking for a way to apply the 'ui-state-active' style to a header cell based on some outside criteria.
Adding a class to the colModel seems to affect the table cells, and not the header cell. Any way to do this through PQ functions? Or will I have to use straight jQuery to try to find it?
-
cls property of column adds a class to the whole column including the header.
Affecting the style of header cell, body cell or both depends upon how the css rule for that class is written.
There is a related topic here
http://paramquery.com/forum/index.php?topic=952
And here is demo where header cells are affected by the class
http://paramquery.com/pro/demos/readonly_cells