This Screencast is most relevant to Sencha Touch, 1.x.
Duration: 7:53
This screencast describes the basics of the NestedList component in Sencha Touch.This Screencast is most relevant to Sencha Touch, 1.x.
Duration: 7:53
This screencast describes the basics of the NestedList component in Sencha Touch.
11 Comments
Seye
2 years agoThanks alot, this is very helpful.
I am new to Sencha Touch
siebmanb
2 years agoGreat tutorial. Even though it works in a browser, data doesn’t load in Xcode 4.1 simulator… Any idea ?
Heather
2 years agoI downloaded all the files and went to run this in Safari and all I get is a title bar that says Music but no album list. Am I missing something?
siebmanb
2 years agoAny error from the browser ? (in the Development -> Error panel in Safari)
Drew Neil
2 years ago@Heather - you’ll need to place the files on a web server so that Sencha Touch can load the JSON data files.
JoF
2 years agoI’ve tried in a local server (MAMP) and uploaded to a web server via FTP and the list doesn’t appears. Any idea?
JoF
2 years agoOk. I found the error.
The line 5 of music_store.js file located in /app/stores/ should be:
url: ‘../nested/data/tracks.json’,
JoF
2 years agoOops! I forgot to say that it works if your project is in a folder called “nested”
.
Heather
2 years agoThanks Drew & Jo! That did it. I didn’t realize I had to upload the files to a web server and now that I have the correct url to the JSON file in the music_store.js the list loads perfectly. Thanks again!
Heather
2 years agoFor the url in music_store.js file
url: ‘data/tracks.json’,also worksJoF
2 years ago@Heather haha! you are right. Obviously!!!!
Leave a comment:
Commenting is not available in this channel entry.