X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/app/simple/app/store/Users.js diff --git a/examples/app/simple/app/store/Users.js b/examples/app/simple/app/store/Users.js new file mode 100644 index 00000000..fbf8f558 --- /dev/null +++ b/examples/app/simple/app/store/Users.js @@ -0,0 +1,18 @@ +Ext.define('AM.store.Users', { + extend: 'Ext.data.Store', + model: 'AM.model.User', + autoLoad: true, + + proxy: { + type: 'ajax', + api: { + read: 'data/users.json', + update: 'data/updateUsers.json' + }, + reader: { + type: 'json', + root: 'users', + successProperty: 'success' + } + } +}); \ No newline at end of file