Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / app / simple / app / store / Users.js
1 Ext.define('AM.store.Users', {
2     extend: 'Ext.data.Store',
3     model: 'AM.model.User',
4     autoLoad: true,
5     
6     proxy: {
7         type: 'ajax',
8         api: {
9             read: 'data/users.json',
10             update: 'data/updateUsers.json'
11         },
12         reader: {
13             type: 'json',
14             root: 'users',
15             successProperty: 'success'
16         }
17     }
18 });