/** * DevExtreme (ui/scheduler.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import './scheduler/utils'; import { UserDefinedElement, DxElement, } from '../core/element'; import { template, } from '../core/templates/template'; import DataSource, { Options as DataSourceOptions, } from '../data/data_source'; import Store from '../data/abstract_store'; import { DxEvent, EventInfo, NativeEventInfo, InitializedEventInfo, ChangedOptionInfo, Cancelable, } from '../events/index'; import { CollectionWidgetItem, } from './collection/ui.collection_widget.base'; import dxDraggable from './draggable'; import dxForm from './form'; import dxPopup from './popup'; import dxSortable from './sortable'; import Widget, { WidgetOptions, } from './widget/ui.widget'; interface AppointmentDraggingEvent { readonly component: dxScheduler; readonly event?: DxEvent; readonly itemData?: any; readonly itemElement?: DxElement; readonly fromData?: any; } interface TargetedAppointmentInfo { readonly appointmentData: any; readonly targetedAppointmentData?: any; } /** @public */ export type AppointmentAddedEvent = EventInfo & { readonly appointmentData: any; readonly error?: Error; }; /** @public */ export type AppointmentAddingEvent = EventInfo & { readonly appointmentData: any; cancel: boolean | PromiseLike; }; /** @public */ export type AppointmentClickEvent = Cancelable & NativeEventInfo & TargetedAppointmentInfo & { readonly appointmentElement: DxElement; }; /** @public */ export type AppointmentContextMenuEvent = NativeEventInfo & TargetedAppointmentInfo & { readonly appointmentElement: DxElement; }; /** @public */ export type AppointmentDblClickEvent = Cancelable & NativeEventInfo & TargetedAppointmentInfo & { readonly appointmentElement: DxElement; }; /** @public */ export type AppointmentDeletedEvent = EventInfo & { readonly appointmentData: any; readonly error?: Error; }; /** @public */ export type AppointmentDeletingEvent = EventInfo & { readonly appointmentData: any; cancel: boolean | PromiseLike; }; /** @public */ export type AppointmentFormOpeningEvent = Cancelable & EventInfo & { readonly appointmentData?: any; readonly form: dxForm; readonly popup: dxPopup; }; /** @public */ export type AppointmentRenderedEvent = EventInfo & TargetedAppointmentInfo & { readonly appointmentElement: DxElement; }; /** @public */ export type AppointmentUpdatedEvent = EventInfo & { readonly appointmentData: any; readonly error?: Error; }; /** @public */ export type AppointmentUpdatingEvent = EventInfo & { readonly oldData: any; readonly newData: any; cancel?: boolean | PromiseLike; }; /** @public */ export type CellClickEvent = Cancelable & NativeEventInfo & { readonly cellData: any; readonly cellElement: DxElement; }; /** @public */ export type CellContextMenuEvent = NativeEventInfo & { readonly cellData: any; readonly cellElement: DxElement; }; /** @public */ export type ContentReadyEvent = EventInfo; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type AppointmentDraggingAddEvent = AppointmentDraggingEvent & { readonly fromComponent?: dxSortable | dxDraggable; readonly toComponent?: dxSortable | dxDraggable; readonly toData?: any; }; /** @public */ export type AppointmentDraggingEndEvent = Cancelable & AppointmentDraggingEvent & { readonly fromComponent?: dxSortable | dxDraggable; readonly toComponent?: dxSortable | dxDraggable; readonly toData?: any; }; /** @public */ export type AppointmentDraggingMoveEvent = Cancelable & AppointmentDraggingEvent & { readonly fromComponent?: dxSortable | dxDraggable; readonly toComponent?: dxSortable | dxDraggable; readonly toData?: any; }; /** @public */ export type AppointmentDraggingStartEvent = Cancelable & AppointmentDraggingEvent; /** @public */ export type AppointmentDraggingRemoveEvent = AppointmentDraggingEvent & { readonly fromComponent?: dxSortable | dxDraggable; readonly toComponent?: dxSortable | dxDraggable; }; /** @public */ export type AppointmentTemplateData = TargetedAppointmentInfo; /** @public */ export type AppointmentTooltipTemplateData = TargetedAppointmentInfo; /** @public */ export type AppointmentCollectorTemplateData = { readonly appointmentCount: number; readonly isCompact: boolean; }; /** @public */ export type DateNavigatorTextInfo = { readonly startDate: Date; readonly endDate: Date; readonly text: string; }; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxSchedulerOptions extends WidgetOptions { /** * @docid * @default false * @public */ adaptivityEnabled?: boolean; /** * @docid * @default 'allDay' * @public */ allDayExpr?: string; /** * @docid * @default "appointmentCollector" * @type_function_param1_field1 appointmentCount:number * @type_function_param1_field2 isCompact:boolean * @public */ appointmentCollectorTemplate?: template | ((data: AppointmentCollectorTemplateData, collectorElement: DxElement) => string | UserDefinedElement); /** * @docid * @public */ appointmentDragging?: { /** * @docid * @default true */ autoScroll?: boolean; /** * @docid * @default undefined */ data?: any; /** * @docid * @default undefined */ group?: string; /** * @docid * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 event:event * @type_function_param1_field3 itemData:any * @type_function_param1_field4 itemElement:DxElement * @type_function_param1_field5 fromComponent:dxSortable|dxDraggable * @type_function_param1_field6 toComponent:dxSortable|dxDraggable * @type_function_param1_field7 fromData:any * @type_function_param1_field8 toData:any */ onAdd?: ((e: AppointmentDraggingAddEvent) => void); /** * @docid * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 event:event * @type_function_param1_field3 cancel:boolean * @type_function_param1_field4 itemData:any * @type_function_param1_field5 itemElement:DxElement * @type_function_param1_field6 fromComponent:dxSortable|dxDraggable * @type_function_param1_field7 toComponent:dxSortable|dxDraggable * @type_function_param1_field8 fromData:any * @type_function_param1_field9 toData:any */ onDragEnd?: ((e: AppointmentDraggingEndEvent) => void); /** * @docid * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 event:event * @type_function_param1_field3 cancel:boolean * @type_function_param1_field4 itemData:any * @type_function_param1_field5 itemElement:DxElement * @type_function_param1_field6 fromComponent:dxSortable|dxDraggable * @type_function_param1_field7 toComponent:dxSortable|dxDraggable * @type_function_param1_field8 fromData:any * @type_function_param1_field9 toData:any */ onDragMove?: ((e: AppointmentDraggingMoveEvent) => void); /** * @docid * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 event:event * @type_function_param1_field3 cancel:boolean * @type_function_param1_field4 itemData:any * @type_function_param1_field5 itemElement:DxElement * @type_function_param1_field6 fromData:any */ onDragStart?: ((e: AppointmentDraggingStartEvent) => void); /** * @docid * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 event:event * @type_function_param1_field3 itemData:any * @type_function_param1_field4 itemElement:DxElement * @type_function_param1_field5 fromComponent:dxSortable|dxDraggable * @type_function_param1_field6 toComponent:dxSortable|dxDraggable * @type_function_param1_field7 fromData:any */ onRemove?: ((e: AppointmentDraggingRemoveEvent) => void); /** * @docid * @default 60 */ scrollSensitivity?: number; /** * @docid * @default 60 */ scrollSpeed?: number; }; /** * @docid * @default "item" * @type_function_param1_field1 appointmentData:object * @type_function_param1_field2 targetedAppointmentData:object * @public */ appointmentTemplate?: template | ((model: AppointmentTemplateData, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default "appointmentTooltip" * @type_function_param1_field1 appointmentData:object * @type_function_param1_field2 targetedAppointmentData:object * @public */ appointmentTooltipTemplate?: template | ((model: AppointmentTemplateData, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default 30 * @public */ cellDuration?: number; /** * @docid * @default false * @public */ crossScrollingEnabled?: boolean; /** * @docid * @default new Date() * @fires dxSchedulerOptions.onOptionChanged * @public */ currentDate?: Date | number | string; /** * @docid * @type Enums.SchedulerViewType * @default "day" * @fires dxSchedulerOptions.onOptionChanged * @public */ currentView?: 'agenda' | 'day' | 'month' | 'timelineDay' | 'timelineMonth' | 'timelineWeek' | 'timelineWorkWeek' | 'week' | 'workWeek'; /** * @docid * @type_function_param1 info:object * @type_function_param1_field1 startDate:date * @type_function_param1_field2 endDate:date * @type_function_param1_field3 text:string * @default undefined * @public */ customizeDateNavigatorText?: ((info: DateNavigatorTextInfo) => string); /** * @docid * @default null * @type_function_param1 itemData:object * @public */ dataCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default null * @public * @type string|Array|Store|DataSource|DataSourceOptions */ dataSource?: string | Array | Store | DataSource | DataSourceOptions; /** * @docid * @default null * @type_function_param1 itemData:object * @public */ dateCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default undefined * @public */ dateSerializationFormat?: string; /** * @docid * @default 'description' * @public */ descriptionExpr?: string; /** * @docid * @default "dropDownAppointment" * @type_function_param1 itemData:object * @type_function_return string|Element|jQuery * @deprecated dxSchedulerOptions.appointmentTooltipTemplate * @public */ dropDownAppointmentTemplate?: template | ((itemData: any, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default true * @public */ editing?: boolean | { /** * @docid * @default true */ allowAdding?: boolean; /** * @docid * @default true */ allowDeleting?: boolean; /** * @docid * @default true * @default false &for(Android|iOS) */ allowDragging?: boolean; /** * @docid * @default true * @default false &for(Android|iOS) */ allowResizing?: boolean; /** * @docid * @default false */ allowTimeZoneEditing?: boolean; /** * @docid * @default true */ allowUpdating?: boolean; /** * @docid * @default false * @deprecated dxSchedulerOptions.editing.allowTimeZoneEditing */ allowEditingTimeZones?: boolean; }; /** * @docid * @default 'endDate' * @public */ endDateExpr?: string; /** * @docid * @default 'endDateTimeZone' * @public */ endDateTimeZoneExpr?: string; /** * @docid * @default 24 * @public */ endDayHour?: number; /** * @docid * @type Enums.FirstDayOfWeek * @default undefined * @public */ firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6; /** * @docid * @default true &for(desktop) * @public */ focusStateEnabled?: boolean; /** * @docid * @default false * @public */ groupByDate?: boolean; /** * @docid * @default [] * @public */ groups?: Array; /** * @docid * @default 300000 * @public */ indicatorUpdateInterval?: number; /** * @docid * @default undefined * @public */ max?: Date | number | string; /** * @docid * @type number|Enums.MaxAppointmentsPerCell * @default "auto" * @public */ maxAppointmentsPerCell?: number | 'auto' | 'unlimited'; /** * @docid * @default undefined * @public */ min?: Date | number | string; /** * @docid * @default "No data to display" * @public */ noDataText?: string; /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:Object * @type_function_param1_field5 error:Error * @action * @public */ onAppointmentAdded?: ((e: AppointmentAddedEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:Object * @type_function_param1_field5 cancel:Boolean|Promise * @action * @public */ onAppointmentAdding?: ((e: AppointmentAddingEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:object * @type_function_param1_field5 targetedAppointmentData:object * @type_function_param1_field6 appointmentElement:DxElement * @type_function_param1_field7 event:event * @type_function_param1_field8 cancel:Boolean * @action * @public */ onAppointmentClick?: ((e: AppointmentClickEvent) => void) | string; /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:object * @type_function_param1_field5 targetedAppointmentData:object * @type_function_param1_field6 appointmentElement:DxElement * @type_function_param1_field7 event:event * @action * @public */ onAppointmentContextMenu?: ((e: AppointmentContextMenuEvent) => void) | string; /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:object * @type_function_param1_field5 targetedAppointmentData:object * @type_function_param1_field6 appointmentElement:DxElement * @type_function_param1_field7 event:event * @type_function_param1_field8 cancel:Boolean * @action * @public */ onAppointmentDblClick?: ((e: AppointmentDblClickEvent) => void) | string; /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:Object * @type_function_param1_field5 error:Error * @action * @public */ onAppointmentDeleted?: ((e: AppointmentDeletedEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:Object * @type_function_param1_field5 cancel:Boolean|Promise * @action * @public */ onAppointmentDeleting?: ((e: AppointmentDeletingEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:object * @type_function_param1_field5 form:dxForm * @type_function_param1_field6 popup:dxPopup * @type_function_param1_field7 cancel:Boolean * @action * @public */ onAppointmentFormOpening?: ((e: AppointmentFormOpeningEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:object * @type_function_param1_field5 targetedAppointmentData:object|undefined * @type_function_param1_field6 appointmentElement:DxElement * @action * @public */ onAppointmentRendered?: ((e: AppointmentRenderedEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 appointmentData:Object * @type_function_param1_field5 error:Error * @action * @public */ onAppointmentUpdated?: ((e: AppointmentUpdatedEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 oldData:Object * @type_function_param1_field5 newData:Object * @type_function_param1_field6 cancel:Boolean|Promise * @action * @public */ onAppointmentUpdating?: ((e: AppointmentUpdatingEvent) => void); /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 cellData:object * @type_function_param1_field5 cellElement:DxElement * @type_function_param1_field6 event:event * @type_function_param1_field7 cancel:Boolean * @action * @public */ onCellClick?: ((e: CellClickEvent) => void) | string; /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field1 component:dxScheduler * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @type_function_param1_field4 cellData:object * @type_function_param1_field5 cellElement:DxElement * @type_function_param1_field6 event:event * @action * @public */ onCellContextMenu?: ((e: CellContextMenuEvent) => void) | string; /** * @docid * @type Enums.SchedulerRecurrenceEditMode * @default "dialog" * @public */ recurrenceEditMode?: 'dialog' | 'occurrence' | 'series'; /** * @docid * @default 'recurrenceException' * @public */ recurrenceExceptionExpr?: string; /** * @docid * @default 'recurrenceRule' * @public */ recurrenceRuleExpr?: string; /** * @docid * @default false * @public */ remoteFiltering?: boolean; /** * @docid * @default null * @type_function_param1 itemData:object * @public */ resourceCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default [] * @public */ resources?: Array<{ /** * @docid * @default false */ allowMultiple?: boolean; /** * @docid * @default "color" */ colorExpr?: string; /** * @docid * @default null */ dataSource?: string | Array | Store | DataSource | DataSourceOptions; /** * @docid * @type_function_param1 resource:object * @default 'text' */ displayExpr?: string | ((resource: any) => string); /** * @docid * @default "" */ fieldExpr?: string; /** * @docid * @default "" */ label?: string; /** * @docid * @default false */ useColorAsDefault?: boolean; /** * @docid * @default 'id' */ valueExpr?: string | Function; }>; /** * @docid * @public */ scrolling?: dxSchedulerScrolling; /** * @docid * @readonly * @default [] * @public */ selectedCellData?: Array; /** * @docid * @default false * @public */ shadeUntilCurrentTime?: boolean; /** * @docid * @default true * @public */ showAllDayPanel?: boolean; /** * @docid * @default true * @public */ showCurrentTimeIndicator?: boolean; /** * @docid * @default 'startDate' * @public */ startDateExpr?: string; /** * @docid * @default 'startDateTimeZone' * @public */ startDateTimeZoneExpr?: string; /** * @docid * @default 0 * @public */ startDayHour?: number; /** * @docid * @default 'text' * @public */ textExpr?: string; /** * @docid * @default null * @type_function_param1 itemData:object * @public */ timeCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default "" * @public */ timeZone?: string; /** * @docid * @default false * @default true &for(Android|iOS) * @default true &for(Material) * @public */ useDropDownViewSwitcher?: boolean; /** * @docid * @type Array * @default ['day', 'week'] * @acceptValues 'day'|'week'|'workWeek'|'month'|'timelineDay'|'timelineWeek'|'timelineWorkWeek'|'timelineMonth'|'agenda' * @public */ views?: Array<'day' | 'week' | 'workWeek' | 'month' | 'timelineDay' | 'timelineWeek' | 'timelineWorkWeek' | 'timelineMonth' | 'agenda' | { /** * @docid * @default 7 */ agendaDuration?: number; /** * @docid * @default "appointmentCollector" * @type_function_param1_field1 appointmentCount:number * @type_function_param1_field2 isCompact:boolean */ appointmentCollectorTemplate?: template | ((data: AppointmentCollectorTemplateData, collectorElement: DxElement) => string | UserDefinedElement); /** * @docid * @default "item" * @type_function_param1_field1 appointmentData:object * @type_function_param1_field2 targetedAppointmentData:object */ appointmentTemplate?: template | ((model: AppointmentTemplateData, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default "appointmentTooltip" * @type_function_param1_field1 appointmentData:object * @type_function_param1_field2 targetedAppointmentData:object */ appointmentTooltipTemplate?: template | ((model: AppointmentTooltipTemplateData, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default 30 */ cellDuration?: number; /** * @docid * @default null * @type_function_param1 itemData:object */ dataCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default null * @type_function_param1 itemData:object */ dateCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default "dropDownAppointment" * @type_function_param1 itemData:object * @type_function_return string|Element|jQuery * @deprecated dxSchedulerOptions.views.appointmentTooltipTemplate */ dropDownAppointmentTemplate?: template | ((itemData: any, itemIndex: number, contentElement: DxElement) => string | UserDefinedElement); /** * @docid * @default 24 */ endDayHour?: number; /** * @docid * @type Enums.FirstDayOfWeek * @default undefined */ firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6; /** * @docid * @default false */ groupByDate?: boolean; /** * @docid * @type Enums.Orientation */ groupOrientation?: 'horizontal' | 'vertical'; /** * @docid * @default [] */ groups?: Array; /** * @docid * @default 1 */ intervalCount?: number; /** * @docid * @type number|Enums.MaxAppointmentsPerCell * @default "auto" */ maxAppointmentsPerCell?: number | 'auto' | 'unlimited'; /** * @docid * @default undefined */ name?: string; /** * @docid * @default null * @type_function_param1 itemData:object */ resourceCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @default undefined */ startDate?: Date | number | string; /** * @docid * @default 0 */ startDayHour?: number; /** * @docid * @default null * @type_function_param1 itemData:object */ timeCellTemplate?: template | ((itemData: any, itemIndex: number, itemElement: DxElement) => string | UserDefinedElement); /** * @docid * @type Enums.SchedulerViewType * @default undefined */ type?: 'agenda' | 'day' | 'month' | 'timelineDay' | 'timelineMonth' | 'timelineWeek' | 'timelineWorkWeek' | 'week' | 'workWeek'; /** * @docid */ scrolling?: dxSchedulerScrolling; }>; } /** * @docid * @inherits Widget, DataHelperMixin * @namespace DevExpress.ui * @public */ export default class dxScheduler extends Widget { constructor(element: UserDefinedElement, options?: dxSchedulerOptions) /** * @docid * @publicName addAppointment(appointment) * @param1 appointment:Object * @public */ addAppointment(appointment: any): void; /** * @docid * @publicName deleteAppointment(appointment) * @param1 appointment:Object * @public */ deleteAppointment(appointment: any): void; getDataSource(): DataSource; /** * @docid * @publicName getEndViewDate() * @public */ getEndViewDate(): Date; /** * @docid * @publicName getStartViewDate() * @public */ getStartViewDate(): Date; /** * @docid * @publicName hideAppointmentPopup(saveChanges) * @param1 saveChanges:Boolean|undefined * @public */ hideAppointmentPopup(saveChanges?: boolean): void; /** * @docid * @publicName hideAppointmentTooltip() * @public */ hideAppointmentTooltip(): void; /** * @docid * @publicName scrollTo(date, group, allDay) * @param2 group:Object|undefined * @param3 allDay:Boolean|undefined * @public */ scrollTo(date: Date, group?: object, allDay?: boolean): void; /** * @docid * @publicName scrollToTime(hours, minutes, date) * @param3 date:Date|undefined * @deprecated dxScheduler.scrollTo * @public */ scrollToTime(hours: number, minutes: number, date?: Date): void; /** * @docid * @publicName showAppointmentPopup(appointmentData, createNewAppointment, currentAppointmentData) * @param1 appointmentData:Object|undefined * @param2 createNewAppointment:Boolean|undefined * @param3 currentAppointmentData:Object|undefined * @public */ showAppointmentPopup(appointmentData?: any, createNewAppointment?: boolean, currentAppointmentData?: any): void; /** * @docid * @publicName showAppointmentTooltip(appointmentData, target, currentAppointmentData) * @param1 appointmentData:Object * @param2 target:string|Element|jQuery * @param3 currentAppointmentData:Object|undefined * @public */ showAppointmentTooltip(appointmentData: any, target: string | UserDefinedElement, currentAppointmentData?: any): void; /** * @docid * @publicName updateAppointment(target, appointment) * @param1 target:Object * @param2 appointment:Object * @public */ updateAppointment(target: any, appointment: any): void; } /** * @public */ export type Appointment = dxSchedulerAppointment; /** * @namespace DevExpress.ui * @deprecated Use the Scheduler's Appointment type instead */ export interface dxSchedulerAppointment extends CollectionWidgetItem { /** * @docid * @public */ allDay?: boolean; /** * @docid * @public */ description?: string; /** * @docid * @default false * @public */ disabled?: boolean; /** * @docid * @public */ endDate?: Date | string; /** * @docid * @public */ endDateTimeZone?: string; /** * @docid * @public */ html?: string; /** * @docid * @public */ recurrenceException?: string; /** * @docid * @public */ recurrenceRule?: string; /** * @docid * @public */ startDate?: Date | string; /** * @docid * @public */ startDateTimeZone?: string; /** * @docid * @public */ template?: template; /** * @docid * @public */ text?: string; /** * @docid * @default true * @public */ visible?: boolean; } /** @public */ export type Properties = dxSchedulerOptions; /** @deprecated use Properties instead */ export type Options = dxSchedulerOptions; /** * @docid * @public * @namespace DevExpress.ui */ export interface dxSchedulerScrolling { /** * @docid * @type Enums.SchedulerScrollingMode * @default "standard" * @public */ mode?: 'standard' | 'virtual'; } /** @deprecated use Properties instead */ export type IOptions = dxSchedulerOptions;