# HG changeset patch # User Dustin Demuth # Date 1426760604 -3600 # Node ID 1c5a4b4191498b53c09a137b13f934b573659b6e # Parent 7ede89336dbeef9f06dbd95441dd90fe0a2c82f2 Field Validity in Status Grid diff -r 7ede89336dbe -r 1c5a4b419149 app/view/grid/Status.js --- a/app/view/grid/Status.js Thu Mar 19 11:15:30 2015 +0100 +++ b/app/view/grid/Status.js Thu Mar 19 11:23:24 2015 +0100 @@ -73,7 +73,8 @@ store: Ext.data.StoreManager.get('messstellen'), displayField: 'messStelle', valueField: 'id', - allowBlank: false + allowBlank: false, + editable: false } }, { header: 'Status', @@ -89,17 +90,18 @@ store: statusStore, displayField: 'display', valueField: 'id', - allowBlank: false + allowBlank: false, + editable: false } }, { header: 'Datum', dataIndex: 'sdatum', xtype: 'datecolumn', - format: 'd.m.Y H:i', + format: 'd.m.Y', editor: { xtype: 'datefield', allowBlank: false, - format: 'd.m.Y H:i', + format: 'd.m.Y', maxValue: Ext.Date.format(new Date(), 'd.m.Y') } }, { @@ -107,7 +109,9 @@ dataIndex: 'skommentar', flex: 1, editor: { - allowBlank: true + allowBlank: true, + maxLength: 1000, + enforceMaxLength: true } }]; this.initData();