jQuery MiniUI
标题:
怎么设置动态单元格不可编辑
[打印本页]
作者:
zlp8556246
时间:
2013-10-31 14:29:14
标题:
怎么设置动态单元格不可编辑
帮主你好,怎么实现 点击表格一个单元格下拉后实现 当前行其他某个单元格为不可编辑(之前为可编辑)
作者:
felt
时间:
2013-10-31 14:47:16
http://www.miniui.com/demo/#src=datagrid/editable.html
可以参考下我们这个demo。
监听oncellbeginedit
作者:
factory
时间:
2013-10-31 14:47:32
1.单元格编辑,你同时只能编辑一个单元格的.
2.禁止编辑的话
监听oncellbeginedit="oncellbeginedit"
function oncellbeginedit(e){
var field = e.field;
if(field == "age"){
e.cancel = true;
}
}
年龄这一列不允许编辑
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2