View Full Version : Store bug

11 Feb 2011, 3:33 AM
I have TreeStore, and if a try to use this code on real host, it's work. I tried to use this code on file system it's doesn't work(load).... :(

storage_sections = new Ext.data.TreeStore({
model: 'Sections',
proxy: {
type: 'ajax',
url: App.sectionsStorage,
reader: {
type: 'tree',
root: 'items'

11 Feb 2011, 4:29 AM
It's not a bug. AJAX won't work on your local machine as long as you're not using a local webserver (like XAMPP). So you have to test your AJAX projects on a web server.

11 Feb 2011, 5:41 AM
But I want to use it in PhoneGap application, what can I do?