Is it possible to get the month and the year when the user select in a combo month or in a combo year ?
have you a possibility ?
regard,
S.schittek
Is it possible to get the month and the year when the user select in a combo month or in a combo year ?
have you a possibility ?
regard,
S.schittek
Calendar doesn’t support onchange events for the month and year selects. You can try to use the following approach to get year when month is selected and vice versa:
var onMonthChange = calendar.onMonthSelect;
calendar.onMonthSelect = function(value){
var year = calendar.editorYear.activeValue;
onMonthChange.apply(this,arguments);
}
var onYearChange = calendar.onYearSelect;
calendar.onYearSelect= function(value){
var month = calendar.editorMonth.activeValue;
onYearChange.apply(this,arguments);
}
Calendar is calendar object here