YN标记:

formatter : function(c1, row,index) {
var a = "";
if(c1 == "Y"){
a = a + "<div style = "background-color:00FF"> 正确";
}else if(c2 == "N"){

	a = a + "<div style = \"background-color:FF0000\"> 错误</div>";

}else{
	a;
}

NULL和非NULL判断 并且悬浮显示单元格内容:
//判断是否为空,若不为空显示答案并且鼠标悬浮显示
formatter : function(value, row, index) {
var a = "";
if(value == null){
}else{
return "" + value + "";
}
}
}

相关文章:

  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-12-08
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
相关资源
相似解决方案