那你应该写在控件的编辑结束事件
var location = this.options.location;
//获取控件的位置
var cr = FR.cellStr2ColumnRow(location);
//单元格列号
var col = cr.col;
//单元格行号
var ro = cr.row;
var value = this.getValue();
if(value<0.2)
{
$("tr[tridx="+ro+"]").find("td[col="+col+"]").css("background-color","rgb(153,204,0)");
}
if(value>0.2)
{
$("tr[tridx="+ro+"]").find("td[col="+col+"]").css({'background-color':'white'});
}