ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: netprw on October 23, 2013, 02:09:07 pm

Title: Apply Manual dirty CSS for editable cell
Post by: netprw on October 23, 2013, 02:09:07 pm
Hi

I have column header check box in grid  whenever I am click on header check box then I  am updating cell value using data model of data  but I am not able to apply dirty cell css. Is there any way ? or please suggest me any better solution for that.


Thanks,
Ramesh
Title: Re: Apply Manual dirty CSS for editable cell
Post by: paramvir on October 23, 2013, 04:37:31 pm
css class for dirty cells is 'pq-cell-dirty'

you can use this

dataModel.data[rowIndx]['pq_cellcls'][dataIndx] = 'pq-cell-dirty';


Here is an example how to apply css classes to cells

http://paramquery.com/pro/demos/row_styles (http://paramquery.com/pro/demos/row_styles)