hi together,
i wonder if it is possible to configurate the datepicker-item while creating a datefield.
i think on something like:
Code:
new Ext.form.DateField({
msgTarget: "side",
fieldLabel: 'Birthday',
name: 'dateOfBirth',
width:150,
format:'d.m.Y',
{okText:"This Day", monthYearText:"Choose your birthdate"}
})
in the api docs i found in the source of the dateField:
Code:
Ext.apply(this.menu.picker, {
minDate : this.minValue,
maxDate : this.maxValue,
disabledDatesRE : this.ddMatch,
disabledDatesText : this.disabledDatesText,
disabledDays : this.disabledDays,
disabledDaysText : this.disabledDaysText,
format : this.format,
minText : String.format(this.minText, this.formatDate(this.minValue)),
maxText : String.format(this.maxText, this.formatDate(this.maxValue))
});
so, there are some config-option that can be set, but not all?
any idea how to extend this properly?
thanks, tobiu