Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6701571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:56:59+00:00 2026-05-26T06:56:59+00:00

I have a small query with regards to Sencha Touch. i am trying to

  • 0

I have a small query with regards to Sencha Touch. i am trying to program some code which has an event kickstart as you scroll down the main panel (The end ideal experiment I am trying to achieve is to get the Panel to render images as you scroll down, but at the moment I am settling for just firing off a console.log from a function).

I was wondering if anyone knew of a method which would the program to detect how far down someone has scrolled vertically and fire off an event once you reach a certain y coordinate. I know of the scrollTo event, but I cannot seem to find any events which allow me to detect the x and y coordinate.

The basic coding for my panel is as follows:

headlinepanel = new Ext.Panel(
{
    layout:
    {   
        type:'vbox',
        align:'stretch'
    },
    monitorOrientation: true,
    scroll:
    {
        direction: 'vertical',
        bounces: false,
        outOfBoundRestrictFactor : 0,
        threshold:20,
    },  
    style: 'background-color:black;',
    listeners: 
    {
        afterrender: function()
        {
            if(headlinepanel.scroller.offsetBoundary.bottom == 500)
            {
                console.log("You are here!");
            }
        }
    }
});

This is what I have at the moment and I tried to see if I could get the offsetBoundary property to work, but none of my programming friends has tried something like this before, so I am not very familar with this. I would appriciate any help, but I understand if this is not really possible with Sencha. Thank you for reading this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:57:00+00:00Added an answer on May 26, 2026 at 6:57 am

    This is how you listen for scroll events:

    headlinepanel.scroller.on('scroll',function(me,offset){
            console.log(offset.x);
            console.log(offset.y);
        });
    

    This event is fire on every change, there are other events too. Check the API here: http://docs.sencha.com/touch/1-1/#!/api/Ext.util.Scroller-event-scroll

    And here is an example: http://jsfiddle.net/sSyqF/14/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small ruby app in which I'm trying to query some information
I have small page which has label, DropDownList and a submit button. <div> <asp:label
I have a small app which query our SharePoint server' Web Service interface for
I have this small SQL query. SELECT a.`id` , a.`title` , a.`date` , (
I have a small but significant query. I'll give a similiar use case but
I have small utility that does some processing on a file and changes the
I have small web app that generate PDF files as a report. I'm trying
I have a small query related to OOP concept in C#. I have an
I have a small query, How to create and export Singleton class from DLL?
I have a small application which consists of a DAL, BLL and the Application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.