ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vijay@spinetechnologies on May 25, 2022, 10:54:42 am

Title: Toggle the class to row on a event
Post by: vijay@spinetechnologies on May 25, 2022, 10:54:42 am
Hi Paramvir,

I want to toggle the custom class on the row on a condition basic.

Like on a button, I want to perform custom validation that the row is valid or not. If the row is not valid then want to highlight the row.

Title: Re: Toggle the class to row on a event
Post by: paramvir on May 25, 2022, 04:57:22 pm
Please check addClass and removeClass methods:

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

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