Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
981:2c394e72ba41 | 982:d8b0b23047b1 |
---|---|
27 border: false, | 27 border: false, |
28 | 28 |
29 initComponent: function() { | 29 initComponent: function() { |
30 var i18n = Lada.getApplication().bundle; | 30 var i18n = Lada.getApplication().bundle; |
31 this.emptyText = i18n.getMsg('pn.emptyGrid'); | 31 this.emptyText = i18n.getMsg('pn.emptyGrid'); |
32 | |
33 this.rowEditing = Ext.create('Ext.grid.plugin.RowEditing', { | |
34 clicksToMoveEditor: 1, | |
35 autoCancel: false, | |
36 disabled: false, | |
37 pluginId: 'rowedit' | |
38 }); | |
39 this.plugins = [this.rowEditing]; | |
32 | 40 |
33 // TODO: Which docked Items are required? | 41 // TODO: Which docked Items are required? |
34 this.dockedItems = [{ | 42 this.dockedItems = [{ |
35 xtype: 'toolbar', | 43 xtype: 'toolbar', |
36 dock: 'top', | 44 dock: 'top', |