Sha256: 9350914b18dfa938ea27d79462b9f7a687fe58606f51368d4353560e012b6931

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

Ext.define('<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>', {
	
	extend : 'Frx.common.ListView',
	
	xtype : '<%= @bundle.downcase %>_<%= singular_name %>',
	
	title : T('menu.<%= class_name %>'),
	
	store : '<%= @bundle %>.store.<%= class_name %>',
	
	<%= Hatio::Generators::ResourceViewUtil.generate_grid(@domain, singular_name, @columns, options, nil) %>	
	
	dockedItems : [ {
		xtype : 'searchform',
		<%= Hatio::Generators::ResourceViewUtil.generate_search_items(@domain, class_name, @columns, nil, nil) %>
	}, {
		xtype : 'controlbar',
		items : ['->', 'import', 'export', 'add', 'save', 'delete']
	} ]
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatio-core-0.0.6 lib/generators/hatio/resource_view/templates/list/ListMain.js