BootstrapScheduler Class
Represents the client-side equivalent of the BootstrapScheduler control.
Declaration
class BootstrapScheduler extends Control
IMPORTANT
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
Methods
appointmentFormCancel(): void
appointmentFormDelete(): void
appointmentFormSave(): void
changeFormContainer(
container: any
): void
changePopupMenuContainer(
container: any
): void
changeTimeZoneId(timeZoneId) Method
Declaration
changeTimeZoneId(
timeZoneId: string
): void
Parameters
Name |
Type |
timeZoneId |
string |
changeToolTipContainer(
container: any
): void
deleteAppointment(apt) Method
Declaration
deleteAppointment(
apt: BootstrapSchedulerAppointment
): void
Parameters
deselectAppointmentById(aptId) Method
Declaration
deselectAppointmentById(
aptId: any
): void
Parameters
getActiveViewType Method
Declaration
getActiveViewType(): BootstrapSchedulerViewType
Returns
getAllDayAreaHeight Method
Declaration
getAllDayAreaHeight(): number
Returns
getAppointmentById(id) Method
Declaration
getAppointmentById(
id: any
): BootstrapSchedulerAppointment | null
Parameters
Returns
getAppointmentProperties(aptId, propertyNames, onCallBack) Method
Declaration
getAppointmentProperties(
aptId: number,
propertyNames: string[],
onCallBack: any
): string[]
Parameters
Name |
Type |
aptId |
number |
propertyNames |
string[] |
onCallBack |
any |
Returns
getGroupType Method
Declaration
getGroupType(): BootstrapSchedulerGroupType
Returns
getResourceNavigatorVisible Method
Declaration
getResourceNavigatorVisible(): boolean
Returns
getScrollAreaHeight(): number
getSelectedAppointmentIds Method
Declaration
getSelectedAppointmentIds(): string[]
Returns
getSelectedInterval Method
Declaration
getSelectedInterval(): BootstrapTimeInterval | null
Returns
getSelectedResource Method
Declaration
getSelectedResource(): string
Returns
getToolbarVisible(): boolean
getTopRowTime(viewType) Method
Declaration
getTopRowTime(
viewType: BootstrapSchedulerViewType
): number
Parameters
Returns
getVisibleAppointments Method
Declaration
getVisibleAppointments(): BootstrapSchedulerAppointment[]
Returns
getVisibleIntervals Method
Declaration
getVisibleIntervals(): BootstrapTimeInterval[]
Returns
gotoDate(date) Method
Declaration
gotoDate(
date: Date
): void
Parameters
goToDateFormApply(): void
goToDateFormCancel(): void
gotoToday Method
Declaration
gotoToday(): void
hideLoadingPanel Method
Declaration
hideLoadingPanel(): void
inplaceEditFormCancel(): void
inplaceEditFormSave(): void
inplaceEditFormShowMore(): void
insertAppointment(apt) Method
Declaration
insertAppointment(
apt: BootstrapSchedulerAppointment
): void
Parameters
navigateBackward Method
Declaration
navigateBackward(): void
navigateForward Method
Declaration
navigateForward(): void
off<K> Method
Declaration
off<K extends keyof BootstrapSchedulerEventMap>(
eventName?: K,
callback?: (this: BootstrapScheduler,
args?: BootstrapSchedulerEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapScheduler, args?: BootstrapSchedulerEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapSchedulerEventMap>(
eventName: K,
callback: (this: BootstrapScheduler,
args?: BootstrapSchedulerEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapScheduler, args?: BootstrapSchedulerEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapSchedulerEventMap>(
eventName: K,
callback: (this: BootstrapScheduler,
args?: BootstrapSchedulerEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapScheduler, args?: BootstrapSchedulerEventMap[K]) => void |
Type Parameters
Returns
performCallback(
parameter: string
): void
Name |
Type |
parameter |
string |
refresh Method
Declaration
refresh(): void
refreshClientAppointmentProperties(clientAppointment, propertyNames, onCallBack) Method
Declaration
refreshClientAppointmentProperties(
clientAppointment: BootstrapSchedulerAppointment,
propertyNames: string[],
onCallBack: any
): void
Parameters
reminderFormCancel(): void
reminderFormDismiss(): void
reminderFormDismissAll(): void
reminderFormSnooze(): void
selectAppointmentById(aptId) Method
Declaration
selectAppointmentById(
aptId: any
): void
Parameters
selectAppointmentById(
aptId: any,
scrollToSelection: boolean
): void
Name |
Type |
aptId |
any |
scrollToSelection |
boolean |
setActiveViewType(value) Method
Declaration
setActiveViewType(
value: BootstrapSchedulerViewType
): void
Parameters
setAllDayAreaHeight(height) Method
Declaration
setAllDayAreaHeight(
height: number
): void
Parameters
setGroupType(value) Method
Declaration
setGroupType(
value: BootstrapSchedulerGroupType
): void
Parameters
setHeight(height) Method
Declaration
setHeight(
height: number
): void
Parameters
setResourceNavigatorVisible(visible) Method
Declaration
setResourceNavigatorVisible(
visible: boolean
): void
Parameters
Name |
Type |
visible |
boolean |
setSelection(interval) Method
Declaration
setSelection(
interval: BootstrapTimeInterval
): void
Parameters
setSelection(interval, resourceId) Method
Declaration
setSelection(
interval: BootstrapTimeInterval,
resourceId: string
): void
Parameters
setSelection(
interval: BootstrapTimeInterval,
resourceId: string,
scrollToSelection: boolean
): void
setToolbarVisible(
visible: boolean
): void
Name |
Type |
visible |
boolean |
setTopRowTime(duration) Method
Declaration
setTopRowTime(
duration: number
): void
Parameters
Name |
Type |
duration |
number |
setTopRowTime(duration, viewType) Method
Declaration
setTopRowTime(
duration: number,
viewType: BootstrapSchedulerViewType
): void
Parameters
setVisibleResources(resourceIds) Method
Declaration
setVisibleResources(
resourceIds: string[]
): void
Parameters
Name |
Type |
resourceIds |
string[] |
showAppointmentFormByClientId(
aptClientId: string
): void
Name |
Type |
aptClientId |
string |
showAppointmentFormByServerId(
aptServerId: string
): void
Name |
Type |
aptServerId |
string |
showInplaceEditor(start, end) Method
Declaration
showInplaceEditor(
start: Date,
end: Date
): void
Parameters
Name |
Type |
start |
Date |
end |
Date |
showInplaceEditor(start, end, resourceId) Method
Declaration
showInplaceEditor(
start: Date,
end: Date,
resourceId: String
): void
Parameters
Name |
Type |
start |
Date |
end |
Date |
resourceId |
String |
showLoadingPanel Method
Declaration
showLoadingPanel(): void
showSelectionToolTip(
x: number,
y: number
): void
Name |
Type |
x |
number |
y |
number |
updateAppointment(apt) Method
Declaration
updateAppointment(
apt: BootstrapSchedulerAppointment
): void
Parameters