ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: angelahlp on January 22, 2021, 12:42:42 pm

Title: How do I add a class to a column?
Post by: angelahlp on January 22, 2021, 12:42:42 pm
I have the dataIndx for a column and want to add a class to it? It doesn't seem to be possible with the "addClass" method. Can you please tell me how to do this?
Title: Re: How do I add a class to a column?
Post by: paramvir on January 22, 2021, 04:49:36 pm
First find the column from dataIndx

https://paramquery.com/pro/api#method-getColumn

then add cls property to the column.

https://paramquery.com/pro/api#option-column-cls