MinDateChanged: function (sender, args)
sender. Event source.
args. Event information.
The MinDateChanged event is fired on changing or setting minimum date value with the MinDate property.
To execute the example, create the MonthCalendar component (see Example of Creating the MonthCalendar Component). Create the variable that contains the minimal possible date:
var minDate = new Date(2004, 0, 1, 9, 0, 0);
Add the MinDateChanged event handler:
MC.MinDateChanged.add(function (sender, args)
{
alert("Minimal date was set")
})
Enter to the browser console:
MC.setMinDate(minDate)
Press the Enter key: The Minimal date was set message is displayed.
See also: