Results 1 to 2 of 2

Thread: [4.1B3] Scrolling a buffered grid is broken

    Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,137
    Vote Rating
    189
      0  

    Default [4.1B3] Scrolling a buffered grid is broken

    These 2 methods cannot have been run ever.

    Code:
    onLockedViewScroll: function() {
            var me = this,
                lockedView = me.lockedGrid.getView(),
                normalView = me.normalGrid.getView(),
                normalTable,
                lockedTable;
    
            normalView.el.dom.scrollTop = lockedView.el.dom.scrollTop;
    
            
            if (me.store.buffered) {
                lockedTable = lockedView.child('table', true);
                normalTable = normalView.child('table', true);
                normalTable.dom.style.top = lockedTable.dom.style.top;
            }
        },
        
        onNormalViewScroll: function() {
            var me = this,
                lockedView = me.lockedGrid.getView(),
                normalView = me.normalGrid.getView(),
                normalTable,
                lockedTable;
    
            lockedView.el.dom.scrollTop = normalView.el.dom.scrollTop;
    
            
            if (me.store.buffered) {
                lockedTable = lockedView.child('table', true);
                normalTable = normalView.child('table', true);
                lockedTable.dom.style.top = normalTable.dom.style.top;
            }
        },
    Bold rows above should be lockedView.el.child. That gives us a DOM node, so row under should not do ".dom."

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Vote Rating
    1367
      0  

    Default

    We will look into it.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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