General Category > Help for ParamQuery Pro

Apply Manual dirty CSS for editable cell

(1/1)

netprw:
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

paramvir:
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



Navigation

[0] Message Index

Go to full version