解决方案 »

  1.   

    render: function (record, rowindex, value, column) {
                      var str;
                      var a = value; //record[column.Discontinued];
                      if (value)
                          str = "<font color=\"blue\">" + value.toString() + "</font>";
                      else
                          str = "<font color=\"red\">" + value.toString() + "</font>";
                    return str;
    自己搞错了,这样可以