JavaScript/jQuery Scheduler - appointmentDragging
onAdd
Name | Type | Description |
---|---|---|
event | Event (jQuery or EventObject) |
The event that caused the function to execute. It is a dxEvent or a jQuery.Event when you use jQuery. |
fromComponent | | |
The instance of the appointment's source widget. |
fromData | any |
Custom data associated with the source widget. |
itemData | any |
The data object of the appointment being dragged. |
itemElement |
The container of the item being dragged. It is an HTML Element or a jQuery Element when you use jQuery. |
|
toComponent | | |
The instance of the appointment's target widget. |
toData | any |
Custom data associated with the target widget. |
onDragEnd
Name | Type | Description |
---|---|---|
cancel |
Allows you to cancel the gesture. |
|
event | Event (jQuery or EventObject) |
The event that caused the function to execute. It is a dxEvent or a jQuery.Event when you use jQuery. |
fromComponent | | |
The instance of the appointment's source widget. |
fromData | any |
Custom data associated with the source widget. |
itemData | any |
The dragged appointment's data. |
itemElement |
The container of the item being dragged. It is an HTML Element or a jQuery Element when you use jQuery. |
|
toComponent | | |
The instance of the appointment's target widget. |
toData | any |
Custom data associated with the target widget. |
onDragMove
Name | Type | Description |
---|---|---|
cancel |
Allows you to cancel the gesture. |
|
event | Event (jQuery or EventObject) |
The event that caused the function to execute. It is a dxEvent or a jQuery.Event when you use jQuery. |
fromComponent | | |
The instance of the appointment's source widget. |
fromData | any |
Custom data associated with the source widget. |
itemData | any |
The data object of the appointment being dragged. |
itemElement |
The container of the item being dragged. It is an HTML Element or a jQuery Element when you use jQuery. |
|
toComponent | | |
The instance of the appointment's target widget. |
toData | any |
Custom data associated with the target widget. |
onDragStart
Name | Type | Description |
---|---|---|
cancel |
Allows you to cancel the gesture. |
|
event | Event (jQuery or EventObject) |
The event that caused the function to execute. It is a dxEvent or a jQuery.Event when you use jQuery. |
fromData | any |
Custom data associated with the source widget. |
itemData | any |
The data object of the appointment being dragged. |
itemElement |
The container of the item being dragged. It is an HTML Element or a jQuery Element when you use jQuery. |
onRemove
Name | Type | Description |
---|---|---|
event | Event (jQuery or EventObject) |
The event that caused the function to execute. It is a dxEvent or a jQuery.Event when you use jQuery. |
fromComponent | | |
The instance of the appointment's source widget. |
fromData | any |
Custom data associated with the source widget. |
itemData | any |
The data object of the appointment being dragged. |
itemElement |
The container of the item being dragged. It is an HTML Element or a jQuery Element when you use jQuery. |
|
toComponent | | |
The instance of the appointment's target widget. |
scrollSensitivity
Specifies the distance in pixels from the edge of viewport at which scrolling should start. Applies only if autoScroll is true.
scrollSpeed
Specifies the scrolling speed when dragging an appointment beyond the viewport. Applies only if autoScroll is true.