How to make Extjs grid editor text mouse selectable

i have extjs 5 grid which is using Cell Editing plugin when i get focus on textbox in the grid it is not mouse select-able. i have tried lots css hack and ell.selectable() but nothing works.

please please help me, i know you are very good in Extjs.

MOUSE SELECTION EXTJS GRID EDITOR

Submitted by sunil On Wednesday, 24 December 2014.
Category: Extjs

[RESOLVED]

0
1 Answers.
 
Super User
crooker

Re:How to make Extjs grid editor text mouse selectable

Add the following override anywhere before using the grid

Ext.define('Ext.view.NavigationModel.Override', { 
	override: 'Ext.view.NavigationModel', 
	onContainerMouseDown: function(view, mousedownEvent) { 
		var el = Ext.fly(mousedownEvent.target), isField = el.hasCls('x-form-field') || el.hasCls('x-field'); 
		if (isField) { 
			return true 
		}; 
		mousedownEvent.preventDefault(); 
	} 
})
Submitted by Super User On Wednesday, 24 December 2014
1
This Answer has been Chosen as Best Answer
Question is marked as resolved.