EXT

                                viewConfig: {
		    getRowClass: function(record, rowIndex, rowParams, store){
		    	if(record.data.state=='1'){
		    	 return 'x-grid-record-red';
		    	}
		    	//else{
		    	// return 'x-grid-record-yellow';
		    	//}
		    }
		},

css

                       .x-grid-record-red .x-grid-cell{
			   background: #E6D1E3;
			}
			.x-grid-record-yellow .x-grid-cell{
			   background: #F3FEC2;
			}
			.x-grid-record-green .x-grid-cell{
			   background: #92FCCC;
			}

  

相关文章:

  • 2021-11-13
  • 2021-07-31
  • 2021-12-26
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案