Answered: How to control whether the grid is editable or not in ExtJS 4.1.1 ?
Answered: How to control whether the grid is editable or not in ExtJS 4.1.1 ?
I need to switch the editable status of grid. For example,if I click the 'edit' button, it makes me able to edit the data in grid .Otherwise the grid stays uneditable
Thank you for your advice.I solved it by editing.enable() and editing.disable(),
and I have to modify the source code cellediting.js to make the variable 'disabled' work(I'm surprised that the source code did not use the 'disabled' at all);