1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    82
    Vote Rating
    0
    jacstofberg is on a distinguished road

      0  

    Default How to scroll to bottom of list after 0.96?

    How to scroll to bottom of list after 0.96?


    Hi all,

    How do I scroll to bottom of list now that list.scroller.bounds.y is not defined any longer?

    I used to accomplish this with:

    Code:
     this.list.scroller.scrollTo({x: 0,y: Math.abs(this.list.scroller.bounds.y)}, true);
    I just can't find a substitute.

    Thanks in advance,
    Jac

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    82
    Vote Rating
    0
    jacstofberg is on a distinguished road

      0  

    Default


    Anyone got any ideas? I'm sure some of you have big lists on which you want to scroll to the bottom at the push of a button

  3. #3
    Ext User
    Join Date
    Oct 2010
    Posts
    6
    Vote Rating
    0
    aecontrerasl is on a distinguished road

      0  

    Default


    Im having the same issue.

    Any workaround?

  4. #4
    Ext User
    Join Date
    Nov 2009
    Posts
    4
    Vote Rating
    1
    ksz is on a distinguished road

      1  

    Default


    This one works for me:

    Code:
    list.scroller.updateBoundary();
    list.scroller.scrollTo({x: 0, y:list.scroller.size.height}, true);

  5. #5
    Sencha User
    Join Date
    Aug 2010
    Posts
    82
    Vote Rating
    0
    jacstofberg is on a distinguished road

      0  

    Default


    Thanks, your code works perfect. Appreciate the reply.

    Cheers,
    Jac

Similar Threads

  1. Scroll to bottom
    By heidtmare in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 14 Oct 2013, 10:50 AM
  2. How to scroll a grid to its bottom
    By jcagumbay in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Apr 2010, 11:43 PM
  3. How to scroll to the bottom of the grid?
    By santosh.rajan in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 20 Nov 2007, 7:34 AM

Thread Participants: 2