-
26 Nov 2010 4:31 AM #1
Endless Ext.List with Ext.data.JsonStore
Endless Ext.List with Ext.data.JsonStore
I am new to Sencha Touch development, so I might miss something really basic here.
I have Ext.List with a Ext.data.JsonStore. And I am trying to load new Items / Records when the end of the list is reached. I can't find any Event for that?
-
26 Nov 2010 7:48 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
I think you're going to have to listen to the scroll events from the scroller element.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Nov 2010 10:45 AM #3
Thank you for your reply!
Where would I find the scroller element? I cannot find anything about that in the API Documentation.
-
26 Nov 2010 11:01 AM #4
-
29 Nov 2010 4:12 AM #5
Thank you!
The Solution seems to be:
Code:list.scroller.addListener('scrollend', function(scroller, offset){ if((list.el.dom.scrollHeight-offset.y)== list.height) { console.log('listend'); } });
-
1 Jan 2013 10:00 PM #6
Hello,
I am new to Extjs. Even I am trying to implement an endless scroller on my grid with json data.
Kindly guide where and how I should be using the code given by you above.
Many thanks for the help.
Similar Threads
-
putting Ext.List in Ext.NestedList - List data does not load
By mmww in forum Sencha Touch 1.x: DiscussionReplies: 0Last Post: 14 Oct 2010, 9:39 PM -
putting Ext.List in Ext.NestedList - List data does not load
By mmww in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 14 Oct 2010, 10:54 AM -
Difference b/w Ext.data.JsonStore and Ext.data.Store
By karthik085 in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 4 Jun 2010, 10:07 AM -
Differences between Ext.data.Store and Ext.data.JsonStore
By kirandasari in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 6 May 2009, 11:43 PM -
Ext.data.store works / Ext.data.JsonStore doesn't work
By phxx in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 Feb 2008, 10:14 AM


Reply With Quote