如下:
renderer : function (value, cellmeta, record, rowIndex, columnIndex, store) {
return record.data["a"]-record.data["b"]-record.data["c"]
}
本文介绍了一个使用JavaScript实现的renderer函数,用于计算表格中每行数据的a、b、c字段的差值。
如下:
renderer : function (value, cellmeta, record, rowIndex, columnIndex, store) {
return record.data["a"]-record.data["b"]-record.data["c"]
}
342
304
551
1057
63
919

被折叠的 条评论
为什么被折叠?