how to set the cell background color baced on the cell value in jqgrid?

后端 未结 2 1809
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 22:32

I\'m using jqgrid. I need to set background color of the cell based on the values.

I have tried using the following code after reload the table the color is disable

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 22:46

    To use the cellattr functionality with the asp.net library of jqGrid, add this to your column. I can't find this documented well anywhere else online...

    
        
    
    

    And Thank Oleg for the awesome addition to jqGrid :)

提交回复
热议问题