Mercurial > lada > lada-client
diff app/view/proben/List.js @ 63:f7d40f8a6902
Added toolbar on the top of the proben listing.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 31 May 2013 17:28:33 +0200 |
parents | e9229d79e430 |
children | b6a05fe9f40e |
line wrap: on
line diff
--- a/app/view/proben/List.js Fri May 31 13:31:18 2013 +0200 +++ b/app/view/proben/List.js Fri May 31 17:28:33 2013 +0200 @@ -11,6 +11,19 @@ deferEmptyText: false }, initComponent: function() { + this.dockedItems = [ + { + xtype: 'toolbar', + dock: 'top', + items: [ + { + text: 'Hinzufügen', + icon: 'gfx/plus.gif', + action: 'add' + } + ] + } + ]; this.columns = [ {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70}, {header: 'MPL', dataIndex: 'mplId', width: 50},