constructor(oldView, newView) Constructor
Provides data for the client-side ActiveViewChanging event.
Declaration
constructor(
oldView: ASPxSchedulerViewType,
newView: ASPxSchedulerViewType
)
Parameters
Name | Type | Description |
---|---|---|
oldView | ASPxSchedulerViewType | Represents the new View used by the Scheduler to show its data. |
newView | ASPxSchedulerViewType | Represents the previous View used by the Scheduler to show its data. |
Remarks
Example
<dx:ASPxScheduler ID="ASPxScheduler1" runat="server" GroupType="Resource" ActiveViewType="FullWeek"
ClientInstanceName="ASPxClientScheduler1">
<Views>
...
</Views>
<ClientSideEvents ActiveViewChanging="function(s, e) { OnActiveViewChanging(e); }" />
<Storage EnableReminders="False" />
</dx:ASPxScheduler>
Online Demo
ASPxScheduler - ActiveView Change
See Also