MonthCalendar.AfterModeChanged

Syntax

AfterModeChanged: function(sender,args)

Parameters

sender. Event source.

args. Event information.

Description

The AfterModeChanged event occurs after changing the display mode of calendar and sizes install.

Example

To execute the example, create the MonthCalendar component (see Example of Creating the MonthCalendar Component). Add the AfterModeChanged event handler:

MC.AfterModeChanged.add(function (sender, args)

    {

        alert(Mode + MC.getMode())

    })

After executing the example on pressing the button that changes the calendar mode (Day, Week, Months, Quarters and Six months) message with the PP.MonthCalendar.Mode enumeration value is displayed.

See also:

MonthCalendar