Results 1 to 4 of 4

Thread: [6.7.0] REGRESSION - Ext.grid.selection.SelectionExtender broken in treeview

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153
    Vote Rating
    203
      0  

    Default [6.7.0] REGRESSION - Ext.grid.selection.SelectionExtender broken in treeview

    Since you've hardcoded "x-grid-view". Please fix in Ext.grid.selection.SelectionExtender

    Code:
     alignHandle: function() {
            var me = this,
                firstCell = me.firstPos && me.firstPos.getCell(true),
                lastCell = me.lastPos && me.lastPos.getCell(true),
                handle = me.handle,
                shouldDisplay;
            // Cell corresponding to the position might not be rendered.
            // This will be called upon scroll
            if (firstCell && lastCell) {
                me.enable();
                handle.alignTo(lastCell, 'c-br');
                shouldDisplay = me.isHandleWithinView(Ext.fly(lastCell).up('.x-grid-view'));
                handle.setVisible(shouldDisplay);
            } else {
                me.disable();
            }
        },

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    476
    Vote Rating
    -336
      -1  

    Default

    Hello,

    There is already an existing Bug for this issue with reference number EXTJS-25111, I will link the Jira ticket here for you to be able to receive updates.

    Regards,
    Kumar
    Sencha Support.

  3. #3
    Sencha User
    Join Date
    Nov 2016
    Posts
    4
    Vote Rating
    0
      0  

    Default

    This is affecting our ability to upgrade to 6.7.0. The hardcoded prefixes are very poor, as we define our own prefixes. Can we get an ETA on when this will be fixed?

  4. #4
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153
    Vote Rating
    203
      0  

    Default

    Here's the patch we're using if it helps:
    Code:
    overrides   : {
            alignHandle: function() {
                var me = this,
                    firstCell = me.firstPos && me.firstPos.getCell(true),
                    lastCell = me.lastPos && me.lastPos.getCell(true),
                    handle = me.handle,
                    shouldDisplay;
                // Cell corresponding to the position might not be rendered.
                // This will be called upon scroll
                if (firstCell && lastCell) {
                    me.enable();
                    handle.alignTo(lastCell, 'c-br');
                    shouldDisplay = me.isHandleWithinView(Ext.fly(lastCell).up('.x-grid-view,.x-tree-view'));
                    handle.setVisible(shouldDisplay);
                } else {
                    me.disable();
                }
            }
        }

Posting Permissions

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