Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: 4.0.2 only - layout fit grid scrollbar when used does not scroll content

    You found a bug! We've classified it as EXTJS-3295 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #21
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34

    Default How to reproduce this bug

    Here's how I reproduce this bug.

    In a grid that is filtered so that it currently doesn't have enough rows to be scrollable.
    Run:
    store.filters.clear();
    store.load();

    Where enough rows are added to make the grid scrollable.
    Now you will see the vertical scrollbar, but the grid body will not respond to moving the scrollbar.

    The fix provided AM dbradicich doesn't appear to fix the problem for me.
    FYI

  2. #22
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939

    Default

    All of these issues should be addressed by 4.0.6 (and therefore 4.1.0)
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  3. #23
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34

    Default 4.0.2a workaround

    Just add a listener for the scrollershow event for you grid and remove and reapply the scrollers scroll managed listener and you are in business.


    Code:
    grid.on('scrollershow', function(scroller) {
      if (scroller && scroller.scrollEl) {
        scroller.clearManagedListeners(); 
        scroller.mon(scroller.scrollEl, 'scroll', scroller.onElScroll, scroller); 
      }
    });

  4. #24
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34

    Default

    Thanks for the update.

  5. #25
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939

    Default

    4.0.6 went out earlier today and can be downloaded from the support portal
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  6. #26
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34

    Default This is still an issue in 4.0.6

    I still see this issue using 4.0.6. I have a demo of the failure here
    http://jsbin.com/ineseg/15/edit

    It needs to be updated a 4.0.6 cdn though.
    Basically just hit filter 50, filter 30, load more data and eventually the scrollbar will stop scrolling the data.

  7. #27
    Sencha User JamieMason's Avatar
    Join Date
    Apr 2010
    Location
    Leeds, UK
    Posts
    42

    Default

    Ah, so it does - it took quite a bit of clicking around but I did reproduce that.

  8. #28
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,296

    Default

    We also have the same symptom in 4.0.6 using our application.

  9. #29
    Sencha User
    Join Date
    Jan 2009
    Posts
    7

    Default

    @gordonk66 -- 4.0.2a workaround worked just fine.. you rock man, that fixed my grid scrolling bug. tnx

  10. #30
    Sencha User
    Join Date
    Apr 2011
    Location
    Wisconsin
    Posts
    10

    Thumbs up Thank you for the workaround!

    @gordonk66
    Thank you so much for posting this easy to implement workaround. Hopefully the 4.1 improvements will deal with this bug, but until then, I am thankful for a fix!

Page 3 of 5 FirstFirst 12345 LastLast

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
  •