[Lada-commits] [PATCH 5 of 8] MaxLength
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 19 11:17:53 CET 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426760130 -3600
# Node ID 7ede89336dbeef9f06dbd95441dd90fe0a2c82f2
# Parent 04cf6b514e3e7dcbaa077b91725cbd5e4bae937a
MaxLength
diff -r 04cf6b514e3e -r 7ede89336dbe app/view/grid/Messwert.js
--- a/app/view/grid/Messwert.js Thu Mar 19 11:05:35 2015 +0100
+++ b/app/view/grid/Messwert.js Thu Mar 19 11:15:30 2015 +0100
@@ -67,7 +67,8 @@
store: Ext.data.StoreManager.get('messgroessen'),
displayField: 'messgroesse',
valueField: 'id',
- allowBlank: false
+ allowBlank: false,
+ editable: false
}
}, {
header: 'Messwert',
@@ -76,7 +77,10 @@
width: 80,
editor: {
xtype: 'numberfield',
- allowBlank: false
+ allowBlank: false,
+ maxLength: 10,
+ allowExponential: false,
+ enforceMaxLength: true,
}
}, {
header: 'Messeinheit',
@@ -94,7 +98,8 @@
store: Ext.data.StoreManager.get('messeinheiten'),
displayField: 'einheit',
valueField: 'id',
- allowBlank: false
+ allowBlank: false,
+ editable: false
}
}, {
header: '<NWG',
@@ -113,7 +118,10 @@
width: 80,
editor: {
xtype: 'numberfield',
- allowBlank: false
+ allowBlank: false,
+ maxLength: 10,
+ allowExponential: false,
+ enforceMaxLength: true,
}
}, {
header: 'Grenzwertüberschreitung',
More information about the Lada-commits
mailing list