I am new to Sencha Touch and trying to build a app to display the songs list. Below is my JSON file which I have used to display the list of songs using nested list. Now I am trying to get 1) list of Albums names only (Album 1, Album 2 .. first level children.. so that I can display the list in Select / Check box. and 2) List of songs from specific album directly using assigned id to Album Node... like list songs from Album 2.
I am looking into API and also in the forum if someone has posted this earlier.
Thanks for your help in advance!
Thanks a lot for your reply! Sorry for not using the Code block...
Actually this example as well as the example from the Kitchen Sink / Data / Nested Loading (not UserInterface / NestedList)... helped me to the get the data. First I have to define the models with association, apply the filter to get the data for the particular Album. (e.g. id = 2). And then use the TPL to get the child data. Once you apply the filter and get the data for another Album, I have to clear the filter to get the complete data and apply the filter again for different id (id =1). The issue which I faced after that was displaying the list (got from Nested Loading TPL) same as that of Nested List example. I wrote my own CSS and applied to both make it look closer.