【发布时间】:2015-03-10 07:57:20
【问题描述】:
我的要求是:
如果 jqx 网格中至少单列中没有数据,我需要突出显示整行,谁能帮帮我?
var cellsrenderer = function (row, columnfield, value, defaulthtml, columnproperties, rowdata)
{
if (value > 2)
{
return '<span style="margin: 4px; float: ' + columnproperties.cellsalign + '; color: #ff0000;font-weight:bold;">' + value + '</span>';
}
else
{
return '<span style="margin: 4px; float: ' + columnproperties.cellsalign + '; color: #00000;font-weight:normal;">' + value + '</span>';
}
};
【问题讨论】:
标签: javascript jquery jqxgrid jqxwidgets