Results 1 to 2 of 2

Thread: "scroll"-property on "List"s

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2008

    Default "scroll"-property on "List"s


    The documentation of the "List"-class states you can provide a scroller-configuration to the "scroll"-property.

    However, the "initComponent" of List does the following.

            if (this.scroll !== false) {
                this.scroll = {
                    direction: 'vertical',
                    useIndicators: !this.indexBar
    If it's intentional to disregard the user's scroll-configuration, then I think the docs should be updated. In my opinion, though, the user's scroll-configuration should be merged with the defaults for "direction" and "useIndicators".

    I need to be able to supply listeners to the scroll-event, to implement "infinite scrolling". My workaround at the moment is subclassing "List" and merging the scroll-properties.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    I would have to agree it should use Ext.applyIf to merge. In the mean time, you can override the initComponent to do as you wish.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:

Similar Threads

  1. Replies: 8
    Last Post: 7 Apr 2011, 4:01 AM
  2. Can combobox listen on "scroll" or "bodyscroll" event?
    By rosemondi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 6 Jan 2011, 12:10 AM
  3. Replies: 3
    Last Post: 28 Oct 2009, 6:38 AM

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