Sha256: 40b58f5e2d22116abfbbe1fc51acf2a70ca1ba0e706f9597ef690e8c348e7b7f
Contents?: true
Size: 717 Bytes
Versions: 3
Compression:
Stored size: 717 Bytes
Contents
<% #default sort to first attribute sort_column = attributes.first ? attributes.first.name : '' if attributes.first && attributes.first.reference? sort_column += '_name' end -%> Ext.define('<%= app_name %>.store.<%= plural_table_name.capitalize %>', { extend: 'Ext.data.Store', mixins: { actionable: '<%= app_name %>.ux.data.Actionable' }, singleton: true, requires: ['<%= app_name %>.model.<%= singular_table_name.capitalize %>'], model: '<%= app_name %>.model.<%= singular_table_name.capitalize %>', storeId: '<%= singular_table_name %>Store', autoLoad: false, remoteSort: true, buffered: true, pageSize: 200, sorters: [ { property: '<%= sort_column %>', direction: 'ASC' } ] });
Version data entries
3 entries across 3 versions & 1 rubygems