Results 1 to 3 of 3

Thread: Grid header and view scroller out of sync when resizing

    You found a bug! We've classified it as EXTJS-15055 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    32

    Default Grid header and view scroller out of sync when resizing

    Ext version tested:
    • 5.1.3


    Description:
    When resizing a grid column while scrolled to the rightmost position, the header container and the grid view scroll positions can get out of sync.

    Steps to reproduce the problem:
    1. Open a grid (http://examples.sencha.com/extjs/5.1...nk/#array-grid)
    2. Resize any column until a horizontal scrollbar appears
    3. Scroll to the rightmost position
    4. Resize a column to be smaller
    5. Resize a column to be bigger
    6. Grid headers and view are misaligned


    Fix:

    Code:
    Ext.define('Perbility.fix.scroll.Scroller', {
        override: 'Ext.scroll.Scroller',
        
        privates: {
            restoreState: function() {
                var me = this,
                    el = me.getScrollElement();
                
                me.callParent(arguments);
                
                if (el && me.trackingScrollTop !== undefined) {
                    Ext.defer(me.syncWithPartners, 50, me);
                }
            }
        }
    });

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Hi--,

    I've found an open bug in our tracking system for this, linking to your thread.

    Bryan

  3. #3
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    32

    Default

    This seems to be fixed in 6.5.3

Similar Threads

  1. [FIXED] Header sync issue in locked rtl grid
    By ragzovskii in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 9 Sep 2016, 9:45 AM
  2. Grid Header resizing
    By AJAIN32 in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 30 Dec 2015, 6:21 AM
  3. Replies: 6
    Last Post: 22 Jun 2015, 3:54 PM
  4. Replies: 5
    Last Post: 1 Feb 2012, 2:02 PM
  5. Grid Scroller Sync
    By vinodtherock in forum Ext: Discussion
    Replies: 0
    Last Post: 3 Oct 2011, 7:08 PM

Posting Permissions

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