lib/netzke/grid/base/client/extensions.js in netzke-basepack-1.0.0.1 vs lib/netzke/grid/base/client/extensions.js in netzke-basepack-1.0.1.0

- old
+ new

@@ -147,11 +147,14 @@ } }); // Fix for CheckColumn Ext.override(Ext.ux.CheckColumn, { - processEvent: function(type) { - // by returning true, we'll allow event propagation, so it reacts similarly to other columns - if (this.readOnly && type == 'mousedown') return true; - else return this.callOverridden(arguments); + processEvent: function(type, view, _, _, _, _, record) { + if (type == 'mousedown' && this.readOnly || !view.grid.netzkePermitInlineEdit(record)) { + // by returning true, we'll allow event propagation, so it reacts similarly to other columns + return true; + } else { + return this.callOverridden(arguments); + } } });