Mercurial > lada > lada-client
comparison app/view/proben/List.js @ 37:e9229d79e430
Added empty text message to the probenlist.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 23 May 2013 17:32:40 +0200 |
parents | c684f01c0b72 |
children | f7d40f8a6902 |
comparison
equal
deleted
inserted
replaced
36:2a67e062519b | 37:e9229d79e430 |
---|---|
1 Ext.define('Lada.view.proben.List' ,{ | 1 Ext.define('Lada.view.proben.List' ,{ |
2 extend: 'Ext.grid.Panel', | 2 extend: 'Ext.grid.Panel', |
3 alias: 'widget.probenlist', | 3 alias: 'widget.probenlist', |
4 maxHeight: 350, | |
5 store: 'Proben', | 4 store: 'Proben', |
5 viewConfig: { | |
6 maxHeight: 350, | |
7 emptyText: 'Keine Proben gefunden.', | |
8 // minHeight and deferEmptyText are needed to be able to show the | |
9 // emptyText message. | |
10 minHeight: 35, | |
11 deferEmptyText: false | |
12 }, | |
6 initComponent: function() { | 13 initComponent: function() { |
7 this.columns = [ | 14 this.columns = [ |
8 {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70}, | 15 {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70}, |
9 {header: 'MPL', dataIndex: 'mplId', width: 50}, | 16 {header: 'MPL', dataIndex: 'mplId', width: 50}, |
10 {header: 'UWB', dataIndex: 'umwId', width: 50}, | 17 {header: 'UWB', dataIndex: 'umwId', width: 50}, |