Author Topic: Apply Manual dirty CSS for editable cell  (Read 4608 times)

netprw

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 9
    • View Profile
Apply Manual dirty CSS for editable cell
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Apply Manual dirty CSS for editable cell
« Reply #1 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