The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientScheduler.SetSelection(interval) Method

Selects time cells which encompass the specified time interval on the client side.

Declaration

SetSelection(interval: ASPxClientTimeInterval, resourceId?: string, scrollToSelection?: boolean): void

Parameters

Name Type Description
interval ASPxClientTimeInterval

Specifies the time interval to select.

Optional Parameters

Name Type Default Description
resourceId string null

Specifies the resource ID to which the specified time interval belongs.

scrollToSelection boolean null

true, to scroll the scheduler content to make the selection visible; otherwise, false.

Remarks

Example

<dx:ASPxScheduler ID="ASPxScheduler1" runat="server" AppointmentDataSourceID="ObjectDataSourceAppointment" ...>
    <ClientSideEvents Init="OnSchedulerInit" />
    <OptionsAdaptivity Enabled="true" />
    <Storage>
    ...
    </Storage>
    <Views>
    ...
    </Views>
</dx:ASPxScheduler>
See Also