Skip to main content
A newer version of this page is available. .

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.

resourceId string

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

scrollToSelection boolean

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