Mercurial > lada > lada-client
diff app/view/grid/Probenehmer.js @ 982:d8b0b23047b1 stammdatengrids
Added GridEditor Plugin
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 08 Dec 2015 15:58:26 +0100 |
parents | 2c394e72ba41 |
children | b21421ba6917 |
line wrap: on
line diff
--- a/app/view/grid/Probenehmer.js Fri Dec 04 15:29:04 2015 +0100 +++ b/app/view/grid/Probenehmer.js Tue Dec 08 15:58:26 2015 +0100 @@ -30,6 +30,14 @@ var i18n = Lada.getApplication().bundle; this.emptyText = i18n.getMsg('pn.emptyGrid'); + this.rowEditing = Ext.create('Ext.grid.plugin.RowEditing', { + clicksToMoveEditor: 1, + autoCancel: false, + disabled: false, + pluginId: 'rowedit' + }); + this.plugins = [this.rowEditing]; + // TODO: Which docked Items are required? this.dockedItems = [{ xtype: 'toolbar',