DayPilot.Action.auto

Selects between immediate action submission [notify()] and queuing [queue()] depending on the control notifyCommit mode.

Declaration

DayPilot.Action.auto();

Example

Change the text of an event with id '123' and process it according to the current notifyCommit value.

var e = dps.events.find('123');
e.text('New Event Name');  // update the event text
dps.events.update(e).auto();

See Also