Results 1 to 3 of 3

Thread: onScroll event for TreePanel

  1. #1

    Default onScroll event for TreePanel

    If I have a tree panel that has enough nodes that a scroll bar appears, I would like to call a function if the scroll bar is clicked on or is being dragged up or down. (Either will work, so I just need to see which is easier). Does anyone know if there is an event built in for this? I did not see one in the API.


  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    As for all Panels:

        scroll: handlerFunction
    Remember that the body only exists when the Panel has been rendered.

  3. #3


    Thanks. I happened to be working with the new TreeGrid, so in my afterRender function, I have:
                scroll: this.removeLocaterArrow
    The onScroll mouse event only exists in Html 5. Do you know how they accomplished this event?

Similar Threads

  1. Container onscroll event
    By filipk in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 7 Oct 2010, 4:08 PM
  2. Extjs onscroll event
    By levansuper in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 24 Jun 2010, 6:03 AM
  3. onscroll event help
    By vocabo in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 29 Oct 2009, 9:11 AM
  4. onscroll event on windows/panel
    By wiyanto in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 23 Mar 2008, 10:23 PM
  5. onScroll event for ContentPanel?
    By FreeGroup in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 21 Sep 2007, 3:41 AM

Posting Permissions

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