[Lada-commits] [PATCH 5 of 5] Removed row editor
Wald Commits
scm-commit at wald.intevation.org
Wed Mar 11 13:13:57 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426076071 -3600
# Node ID a9268f5cde267e38a595d6ddf3d46fb755fad523
# Parent 4251601c6305ab6ebb4a0f0dbfae2424bddbeba0
Removed row editor.
diff -r 4251601c6305 -r a9268f5cde26 app/view/grid/Messungen.js
--- a/app/view/grid/Messungen.js Wed Mar 11 13:13:56 2015 +0100
+++ b/app/view/grid/Messungen.js Wed Mar 11 13:14:31 2015 +0100
@@ -27,11 +27,6 @@
errors: null,
initComponent: function() {
- var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
- clicksToMoveEditor: 1,
- autoCancel: false,
- itemId: 'rowedit'
- });
this.dockedItems = [{
xtype: 'toolbar',
dock: 'bottom',
@@ -50,10 +45,16 @@
header: 'Mess-ID',
dataIndex: 'id',
flex: 1,
+ editor: {
+ allowBlank: false
+ }
}, {
header: 'Nebenproben-Nr.',
dataIndex: 'nebenprobenNr',
flex: 1,
+ editor: {
+ allowBlank: false
+ }
}, {
header: 'MMT',
dataIndex: 'mmtId',
@@ -65,6 +66,14 @@
header: 'Messzeit',
dataIndex: 'messzeitpunkt',
flex: 2,
+ editor: {
+ xtype: 'datefield',
+ allowBlank: false,
+ format: 'd.m.Y',
+ // minValue: '01.01.2001', //todo: gibt es das?
+ // minText: 'Das Datum der Messung darf nicht vor dem 01.01.2001 liegen.',
+ maxValue: Ext.Date.format(new Date(), 'd.m.Y')
+ }
}, {
header: 'Status',
flex: 1,
More information about the Lada-commits
mailing list