ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: jeff_b on January 27, 2016, 01:43:24 am

Title: Mark column as required / Add css class to column header only
Post by: jeff_b on January 27, 2016, 01:43:24 am
I have a requirement where a grid will 10 columns with only column 1 and 5 required.   We are looking for a way to make it clear that the columns are required.  I have added stars to the title but I am not sure I like the appearance of that.  Is there a way to color the title font / add a class to JUST the header.  (I tried the cls tag in column model but it appears that only gets applied to the rows).

Basically: Is it possible to mark only required headers in a certain manner?
Title: Re: Mark column as required / Add css class to column header only
Post by: paramvir on January 27, 2016, 05:34:54 pm
Title font can be changed with inline css.

Code: [Select]
title: "<span style='color:red;'>Rank</span>"