comparison app/view/proben/List.js @ 4:b8e56e880f02

Added a first example view (userlisting) from the EXJS Tutorial. Need to be adapted.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 29 Apr 2013 14:45:16 +0200
parents
children a8efc4b96888
comparison
equal deleted inserted replaced
3:ac736eea9b30 4:b8e56e880f02
1 Ext.define('Lada.view.proben.List' ,{
2 extend: 'Ext.grid.Panel',
3 alias: 'widget.probenlist',
4
5 title: 'Alle Proben',
6
7 initComponent: function() {
8 this.store = {
9 fields: ['name', 'email'],
10 data : [
11 {name: 'Ed', email: 'ed@sencha.com'},
12 {name: 'Tommy', email: 'tommy@sencha.com'}
13 ]
14 };
15
16 this.columns = [
17 {header: 'Name', dataIndex: 'name', flex: 1},
18 {header: 'Email', dataIndex: 'email', flex: 1}
19 ];
20
21 this.callParent(arguments);
22 }
23 });

http://lada.wald.intevation.org