var r = grid.getDataSource().reader.newRow({
// defaults..
person_id : _this.data.person_id,
- dtstart : new Date(0),
- dtend : Date.parseDate('2030-01-01', 'Y-m-d'),
+ dtstart : new Date(),
+ dtend : Date.parseDate('2050-01-01', 'Y-m-d'),
tz : 'Asia/Hong Kong',
onid : _this.data.onid,
ontable : _this.data.ontable,
xtype: 'ComboBox',
xns: Roo.form,
allowBlank : 'false',
- displayField : 'tz',
editable : true,
emptyText : "Select timezone",
fieldLabel : 'core_enum',
forceSelection : true,
- hiddenName : 'tz',
listWidth : 400,
loadingText : "Searching...",
minChars : 2,