The auto() method chooses between immediate action submission using notify() and queued submission using queue(), depending on the control notifyCommit mode.
It only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.
DayPilot.Action.auto()This method has no parameters.
Use this method when the action should follow the current notifyCommit setting instead of calling notify() or queue() explicitly.
Change the text of an event with ID "123" and process it according to the current notifyCommit value.
const e = dps.events.find("123");
e.text("New Event Name"); // update the event text
dps.events.update(e).auto();