Companies.js 480 B

12345678910111213141516171819202122
  1. Ext.define('uas.store.Companies', {
  2. extend: 'Ext.data.Store',
  3. alias: 'store.companies',
  4. model: 'uas.model.Company',
  5. autoLoad: true,
  6. pageSize: null,
  7. proxy: {
  8. type: 'ajax',
  9. url: '/uas/Company',
  10. reader: {
  11. type: 'json',
  12. rootProperty: 'data',
  13. // Do not attempt to load orders inline.
  14. // They are loaded through the proxy
  15. implicitIncludes: false
  16. }
  17. }
  18. });