Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 GridPanel 中有一个 CheckColumn,如果已选中该行上的复选框,我想禁用该行的可编辑单元格。这可能吗?
最简单的方法是在编辑器上监听 beforeedit 事件。就像是:
cellEditing.on('beforeedit', function(ed, context) { return !context.record.get('checkField'); });