0
如何添加背景图像到我的网格行?我可以用下面的代码更改行的颜色,但它不会添加图像?如何添加背景图像到网格行
this.getView().getRowClass = function(record, rowIndex, rowParams, store) {
return record.get("deleted_dts") ? "rowdeleted" : ""
};
的CSS:
.row-deleted { background: url("../images/bin.png") no-repeat right center #eeeeee; color: gray; }
感谢。