DataListGridStore.js 542 B

12345678910111213141516171819202122
  1. /*
  2. * @Description: 列表store
  3. * @Author: hy
  4. * @Date: 2019-08-12 18:34:16
  5. * @LastEditTime: 2019-08-13 08:40:20
  6. */
  7. Ext.define('uas.store.DataListGridStore', {
  8. extend: 'Ext.data.Store',
  9. alias: 'store.dataListGridStore',
  10. model: 'uas.model.DataListGridModel',
  11. proxy: {
  12. type: 'ajax',
  13. url: 'resources/json/DataListData.json',
  14. reader: {
  15. type: 'json',
  16. rootProperty: 'data',
  17. idProperty: 'id',
  18. totalProperty: 'total'
  19. }
  20. },
  21. remoteSort: false
  22. });