Results 1 to 3 of 3

Thread: How to scroll all the way down on Panel in code?

  1. #1

    Default How to scroll all the way down on Panel in code?

    I have created a custom panel that mimics a grid. As I add "rows", I call doLayout() which forces a render of the newly added item. It also correctly sets the scrollbar vertical height as needed. I want to be able to scroll down completely in code after doLayout() is called. Any help on how to accomplish this would be appreciated.

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2009
    Posts
    13

    Default

    I am also having some troubles scrolling panels into view which are in some other containerPanel.
    I must specify here that my container does not have autoscroll:true. However I have included my customized scrollbar such that it is in sync with the neighbouring grid.
    Now i want panels in the containerPanel to be scrolled to upon grid row selection. I have worked out all the necessary things.... its just that scrolling is not happening...
    Plz guide me on that... Thank you...

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    So I assume you set the scrollTop of the element to be scrolled to the scrollTop of the element it should be synced with?

Posting Permissions

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