To disable the editing on a cell, remove the 'editor' property from column options. To enable editing again, restore the 'editor' property value. The code below shows how to disable the 'editor' property for a specified field.
var dg = $('#dg');
var col = dg.datagrid('getColumnOption', field);
col.editor1 = col.editor;
col.editor = null;