--- a/node_modules/@sencha/ext-modern/src/grid/plugin/CellEditing.js +++ b/node_modules/@sencha/ext-modern/src/grid/plugin/CellEditing.js @@ -76,12 +76,17 @@ getEditor: function(location) { var column = location.column, - fieldName = column.getDataIndex(), record = location.record, - editable = column.getEditable(), - editor, field; + fieldName, editable, editor, field; - if (!(editor = editable !== false && column.getEditor(location.record)) && editable) { + if (!column) { + return false; + } + + fieldName = column.getDataIndex(); + editable = column.getEditable(); + + if (!(editor = editable !== false && column.getEditor(record)) && editable) { editor = Ext.create(column.getDefaultEditor()); }