- 注册时间
- 2014-10-14
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 75
- 精华
- 0
- 帖子
- 15

|
grid.on("drawcell",function(e) {
//alert(s);
var record = e.record, column = e.column, field = e.field, value = e.value;
//console.log(record);
if (e.field == "nconfigState") {
s++;
if (e.value == "1") {
e.cellHtml = '<input class="mini-radiobuttonlist" id="nconfigState' + s + '" type="radio" name="nconfigState' + s + '" checked="checked" value="1"/>自动发送<input id="nconfigState' + s + '" class="mini-radiobuttonlist" type="radio" name="nconfigState' + s + '" value="0"/>手工处理'
}
if (e.value == "0") {
e.cellHtml = '<input class="mini-radiobuttonlist" id="nconfigState' + s + '" type="radio"name="nconfigState' + s + '" value="0" checked="checked" />自动发送<input id="nconfigState' + s + '" class="mini-radiobuttonlist" type="radio" name="nconfigState' + s + '" value="1" checked="checked"/>手工处理'
}
}
});
当单击单选按钮时 应该datagrid改变了我用datagrid.getChanges()获取datagrid改变的值无法获取到 怎么处理
|
|