PDA

View Full Version : Loading Data into Nested list



tldes
2 Feb 2012, 9:20 AM
I am having trouble getting the data I have to load into the nested list. I have a nested list on the canvas. I have assigned a data store type of Tree Store. I have created a model named ListItem and assigned it to the Tree Store. I then assigned the tree store to the nested list via the fly out tab and set the url to my data within the reader. I am using the sample json data from the 2.0 nested list example in the documentation and have set up the model and other items with the same config as well.

Am I missing a step? I also tried adding an item under the store and mapping it directly to the item in the data.

Also, the error I get is this:

Unable to load data using the supplied configuration.
Open in Browser: data/test.json

I am able to navigate to and open this file within a browser.

bharatn
4 Feb 2012, 12:14 AM
Check the url prefix in project settings is correct - The url to load data is combination of URL prefix + what you have for proxy url.