Mercurial > lada > lada-client
changeset 1161:f56f3970d755
Checkbox added to ProbeList and MessprogrammList
author | Evi Huber <ehuber@bfs.de> |
---|---|
date | Fri, 24 Jun 2016 11:47:08 +0200 |
parents | a393d9650a0b |
children | b98e3af27424 |
files | app/view/grid/MessprogrammeList.js app/view/grid/ProbeList.js |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/grid/MessprogrammeList.js Wed Jun 08 12:44:03 2016 +0200 +++ b/app/view/grid/MessprogrammeList.js Fri Jun 24 11:47:08 2016 +0200 @@ -18,6 +18,10 @@ initComponent: function() { var i18n = Lada.getApplication().bundle; this.emptyText = i18n.getMsg('messprogramme.emptyGrid'); + this.selModel = Ext.create('Ext.selection.CheckboxModel', { + checkOnly: true, + injectCheckbox: 0 + }); this.dockedItems = [{ xtype: 'toolbar',
--- a/app/view/grid/ProbeList.js Wed Jun 08 12:44:03 2016 +0200 +++ b/app/view/grid/ProbeList.js Fri Jun 24 11:47:08 2016 +0200 @@ -18,7 +18,10 @@ initComponent: function() { var i18n = Lada.getApplication().bundle; this.emptyText = i18n.getMsg('probe.emptyGrid'); - + this.selModel = Ext.create('Ext.selection.CheckboxModel', { + checkOnly: true, + injectCheckbox: 1 + }); this.dockedItems = [{ xtype: 'toolbar', dock: 'top',