If you find that other versions also have this bug, can be fixed in this way, the source code is more than a block MouseDown event code Mousedownevent.preventdefault () caused.
Ext.define (' Ext.override.grid.NavigationModel ', {
Override: ' Ext.grid.NavigationModel ',
Oncellmousedown:function (view, cell, CellIndex, record, row, Recordindex, mousedownevent) {
var parentevent = mousedownevent.parentevent,
Targetcomponent = Ext.Component.fromElement (mousedownevent.target, cell),
Column = Mousedownevent.position && mousedownEvent.position.column,
cellediting = View.grid.findPlugin (' cellediting ');
if (targetcomponent && targetcomponent.isfocusable && targetcomponent.isfocusable ()) {
if (!cellediting | |!cellediting.editing) {
Targetcomponent.focus ();
}
if (column && column.stopselection!== false) {
Return
}
}
if (!parentevent | | parentevent.type!== ' touchstart ') {
This.setposition (mousedownevent.position, NULL, mousedownevent);
}
}
});
Bug that text still can't be selected after repairing Extjs5.1.4 table setting Enabletextselection:true