- 注册时间
- 2015-5-26
- 最后登录
- 2022-10-20
- 阅读权限
- 10
- 积分
- 383
- 精华
- 0
- 帖子
- 94
|
<div field="time" name="time" width="60" allowSort="true" dateFormat="HH:mm:ss">TIME
<input property="editor" class="mini-timespinner" style="width:100%;" />
</div>
想在
grid.on("drawcell", function (e) {
var record = e.record,
column = e.column,
field = e.field,
value = e.value;
if (record.project!="1") {
if (field == "time"||field == "time") {
// e.cancel = true;
e.disable = true;
}
}
});
这个地方应该怎么写呢?
|
|