Disable a row editing is not allowed in current version. This issue will be solved in next release version. The simple way to solve this issue is to define an 'empty' editor that do nothing when clicking a row. Assigning the row editor type to 'empty' type will prevent the row from editing. The 'empty' editor is defined as:
$.fn.datagrid.defaults.editors.empty = {
init: function(container, options){
return $('<div style="padding:0 4px"></div>').appendTo(container);
},
getValue: function(target){
return $(target).html();
},
setValue: function(target, value){
$(target).html(value);
}
};