Results 1 to 3 of 3

Thread: enableTextSelection doesn't work in grid column

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default enableTextSelection doesn't work in grid column

    Hi
    As stated in the Ext.grid.Column documentation there is an enableTextSelection config parameter to enable text selection.
    This doesn't work in columns inside a Ext.grid.Panel

    Why?

    I'm using Ext JS 6.2.1

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    17

    Default

    Hi,
    you are right, there is a bug about this parameter if your grid is embedded in a window?!

    You can fix it with this override:
    Code:
    Ext.define('overrides.window.Window', {
        override: 'Ext.window.Window',
        
        initComponent: function() {
            var me = this;
            me.on('show', me.onShowRemoveUnselectable, me);
            me.callParent();
        },
        
        onShowRemoveUnselectable: function(grid, state, eOpts) {
            // Let user select the displayed text
            this.removeCls("x-unselectable");    
        }
    });

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    900

    Default

    It's also a bug even in a stand-alone grid.

Similar Threads

  1. [OPEN] enableTextSelection doesn't work inside windows
    By f.baron in forum Ext JS 6.x Bugs
    Replies: 4
    Last Post: 13 Mar 2017, 1:49 AM
  2. [FIXED] ExtJS 5.1.3 - viewConfig enableTextSelection doesn't work
    By d.zucconi in forum Ext 5: Bugs
    Replies: 3
    Last Post: 9 Sep 2016, 8:12 AM
  3. Replies: 2
    Last Post: 3 Sep 2013, 6:27 PM
  4. Replies: 8
    Last Post: 11 Sep 2012, 4:26 AM
  5. Date column in grid doesn't work right
    By pieter333 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 Mar 2009, 6:46 AM

Tags for this Thread

Posting Permissions

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