Sha256: be04a03e56f332b12ad653cb05ed6d48d43bb01788e859024bc88146ae9337ec

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

Ext.define('<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>List', {
	
	extend : 'Base.abstract.entity.ReportGridView',
	
	xtype : '<%= @bundle.downcase %>_<%= singular_name %>_list',
		
	store : Ext.create('Ext.data.Store', {
		
		<%= Hatio::Generators::ReportViewUtil.generateStore(@domain, @out_params) %>,
		
		autoLoad : false,
		
		remoteFilter : true,
		
		// TODO url : shoot.json, method : post
		proxy : {
			type : 'ajax',
			url : <%= @service_url %>,
			format : 'json',
			reader : {
				type : 'json'
			}
		}
	}),
	
	<%= Hatio::Generators::ReportViewUtil.generateColumns(@domain, @out_params) %>
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatio-core-0.0.6 lib/generators/hatio/resource_view/templates/report/ReportList.js