-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.js
executable file
·35 lines (34 loc) · 977 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Ext.setup({
onReady: function() {
var p = new Ext.form.FormPanel({
fullscreen : true,
items : [
{
xtype : "fieldset",
title : "DateTimePicker",
items : [
{
xtype: "datetimerangefield"
}]
},{
xtype: 'fieldset',
items: [
{
xtype: "datetimerangefield",
label: {
from: 'Von',
to: 'Bis'
},
pickerpanel: {
cancel: 'abbrechen',
done: 'fertig',
errorTitle: 'Fehler beim Speichern',
errorMsg: 'Das Startdatum muss vor dem Enddatum liegen.'
}
}
]
}
]
});
}
});