Results 1 to 3 of 3

Thread: How to make panel header Title text selectable

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    6

    Default Answered: How to make panel header Title text selectable

    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...

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

  2. this works:
    Code:
    header.titleCmp.textEl.selectable();

  3. #2
    Sencha Premium User
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    807
    Answers
    23

    Default

    this works:
    Code:
    header.titleCmp.textEl.selectable();

  4. #3
    Sencha Premium Member
    Join Date
    Jul 2014
    Location
    Pune, India
    Posts
    12

    Lightbulb

    You can apply the change globally with this:

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •