]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('KitchenSink.store.Products', {\r |
2 | extend: 'Ext.data.Store',\r | |
3 | \r | |
4 | alias: 'store.products',\r | |
5 | model: 'KitchenSink.model.grid.Product',\r | |
6 | proxy: {\r | |
7 | type: 'ajax',\r | |
8 | url: 'data/grid/grid-filter.json',\r | |
9 | reader: {\r | |
10 | type: 'json',\r | |
11 | rootProperty: 'data',\r | |
12 | idProperty: 'id',\r | |
13 | totalProperty: 'total'\r | |
14 | }\r | |
15 | },\r | |
16 | remoteSort: false,\r | |
17 | sorters: [{\r | |
18 | property: 'company',\r | |
19 | direction: 'ASC'\r | |
20 | }],\r | |
21 | pageSize: 50\r | |
22 | });\r |