Mercurial > lada > lada-client
view app/view/proben/List.js @ 9:12a65c2c5dbf
Add probnelist to view
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 30 Apr 2013 10:48:09 +0200 |
parents | b8e56e880f02 |
children | a8efc4b96888 |
line wrap: on
line source
Ext.define('Lada.view.proben.List' ,{ extend: 'Ext.grid.Panel', alias: 'widget.probenlist', title: 'Alle Proben', initComponent: function() { this.store = { fields: ['name', 'email'], data : [ {name: 'Ed', email: 'ed@sencha.com'}, {name: 'Tommy', email: 'tommy@sencha.com'} ] }; this.columns = [ {header: 'Name', dataIndex: 'name', flex: 1}, {header: 'Email', dataIndex: 'email', flex: 1} ]; this.callParent(arguments); } });