标题: Combox设置样式报错Cannot set property 'cellHtml' of undefined [打印本页] 作者: hcm 时间: 2021-8-20 11:38:47 标题: Combox设置样式报错Cannot set property 'cellHtml' of undefined
<script type="text/javascript">
function onDrawCell(e) {
var item = e.record, field = e.field, value = e.value;
//组织HTML设置给cellHtml
e.cellHtml = '<span style="color:red;">'+value+'</span>';
}