/ Schedule / ActionEventArgs
Search results

ActionEventArgs API in Vue Schedule API component

An interface that holds options to control the actions of scheduler such as editing, navigation, and more.

Properties

addedRecords

Record[]

Returns the appropriate added data based on the action.

cancel

boolean

Defines the cancel option for the action taking place.

changedRecords

Record[]

Returns the appropriate changed data based on the action.

data

Record | Record[]

Returns the appropriate data based on the action.

deletedRecords

Record[]

Returns the appropriate deleted data based on the action.

event

Event

Defines the type of the event.

groupIndex

number

Returns the clicked resource row index.

items

ItemModel[]

Returns the toolbar items present in the Schedule header bar.

name

string

Specifies name of the event.

promise

Promise

A Promise that, when provided, checks for overlapping events on the server. If the promise resolves with overlapping events, the action (add/update) will be canceled, and an alert will be displayed to the user. If no overlapping events are found, the scheduler proceeds with the action.

requestType

string

Returns the request type of the current action.