ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: nklapper on June 08, 2016, 07:56:58 pm
-
cls: Class to be assigned to whole column including header.
Is there a way to apply a Class to whole column except for the header?
-
column.cls is applied to whole column, but the css rules can be applied to the body cells only by applying the css to .pq-grid-cell.
e.g., if 'xls' class is added to a column, it can be combined with .pq-grid-cell
.pq-grid-cell.xls{
font-weight: bold;
}
I hope this is what you are looking for?
-
I might be. Would this apply to ALL columns, or just ONE specific column?
-
It applies to the columns whose cls property is assigned.
If you need to assign cls to all columns, then put cls in the columnTemplate.
http://paramquery.com/pro/api#option-columnTemplate