Jqgrid文本闪烁基于colmodel中的条件

Jqgrid text blink based on condition in colmodel

我在某些操作中从数据库中获取记录在某些点击中某些 col 模型值发生变化当时我需要区分 col-model 已更改所以现在文本必须闪烁。例如有 5 行和 3改变了 col 模型,其余没有改变。我现在加载了 jQgrid,我尝试加载完成但作为初学者没有运气,我对此没有友好的帮助 ??

loadComplete: function(data) {
$.each(data.rows,function(i,item)
{
alert("data======>"+JSON.stringify(i)+"  "+data.rows[i].change);
if(data.rows[i].change ==Y)
{

}
});
}

可以使用rowattrcellattr在行或使闪烁的单元格上设置CSS class。关于 cellattr 的用法见 the answer about blinking, the answer about the usage of rowattr and the answer