Results 1 to 2 of 2

Thread: Check column setDisabled on locked column

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,199

    Default Check column setDisabled on locked column

    When the Ext.grid.column.Check column is set as locked the setDisabled function is not able to update the layout

    The cause is a failing selector in _setDisabled. We did the following override to fix this:

    Code:
     _setDisabled : function (disabled) {
                this.callParent(arguments);
    
                //HACK ExtJS bug. onDisable fn uses wrong selector
                var cells = this.up('tablepanel').view.el.select(this.getCellSelector());
    
                cells[disabled ? 'addCls' : 'removeCls'](this.disabledCls);
            }
    The current selector used below is not returning any items in this context

    Current ExtJS 6.6.0 code
    Code:
     _setDisabled: function(disabled) {
            var me = this,
                cls = me.disabledCls,
                items;
     
            items = me.up('tablepanel').el.select(me.getCellSelector());
            if (disabled) {
                items.addCls(cls);
            } else {
                items.removeCls(cls);
            }
        },
    Could this be fixed?

    See fiddle to reproduce (click Push me)

    https://fiddle.sencha.com/#view/editor&fiddle/2kij

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello, hope you are doing well.

    Thank you for reporting this to us, I have identified this to be a bug, I will go ahead and update this in our bug tracker. The reference number will be attached here for you to be able to track the progress.

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. Replies: 2
    Last Post: 24 Oct 2014, 5:59 PM
  2. Replies: 1
    Last Post: 1 Jul 2013, 7:41 AM
  3. Replies: 1
    Last Post: 31 May 2013, 9:38 AM
  4. Locked column grid loses column information
    By bladesling in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Aug 2012, 1:13 PM
  5. [OPEN] Bug in Grid Column sort when the column is locked
    By maya in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 19 Jun 2007, 7:48 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
  •