PDA

View Full Version : How to make panel header Title text selectable



pldranka
21 Aug 2013, 11:34 AM
Hi,

How do I make the text of a panel's header selectable in IE?

I tried but none of those seem to change the unselectable attribute of the textEl...



grid.header.el.selectable();
grid.header.titleCmp.textEl.el.selectable();
grid.header.titleCmp.textEl.dom.unselectable = 'off';


Thanks

vadimv
21 Aug 2013, 12:23 PM
this works:


header.titleCmp.textEl.selectable();

snehalmasne
29 Sep 2015, 5:31 AM
You can apply the change globally with this:


Ext.override(Ext.grid.View, { enableTextSelection: true });