// 开启行编辑
tg.treegrid(‘beginEdit‘,row.id);
// 对单个单元格做禁用、注意需要在开启编辑之后才能做禁用,否则会报错
$($(‘#tg‘).treegrid(‘getEditor‘, { id: row.id, field: ‘value‘}).target).combobox(‘disable‘);
参考资料:
https://www.cnblogs.com/miraclesakura/p/3584480.html
https://www.cnblogs.com/youryida/p/3218119.html
https://zhidao.baidu.com/question/556574738.html