New to Kendo UI for AngularStart a free 30-day trial

EditService

Interface

Defines the interface for a service that the reactive and template editing directives of the Scheduler use to persist changes made during editing.

Definition

Package:@progress/kendo-angular-scheduler

Methods

Creates a new event.

Parameters:eventTEvent

The event to create.

Creates an exception for an existing recurring event. The recurrenceId field of the exception or the custom field set by the model map points to the master event.

Parameters:eventTEvent

The occurrence to remove from the series.

valueany

An object with the updated field values, for example, a form group value.

Returns the master recurring event for a specified recurring event.

Parameters:eventTEvent

An event from the recurrence series.

Returns:

TEvent

The master recurring event for the series.

Checks if the event is a recurrence exception.

Parameters:eventTEvent

The event to check.

Returns:

boolean

true if the event is a unique event that belongs to a recurrence series. Otherwise, returns false.

Checks if the event is part of a recurrence series.

Parameters:eventTEvent

The event to check.

Returns:

boolean

true if the event is an occurrence, exception, or master event. Otherwise, returns false.

Removes a non-recurring event.

Parameters:eventTEvent

The event to remove.

Removes a single occurrence from a recurring series. The recurrenceId field of the occurrence or the custom field set by a model map points to the master event.

Parameters:eventTEvent

The occurrence to remove.

Removes the recurrence series and any exceptions.

Parameters:eventTEvent

Any event from the recurrence series.

Updates the event by copying changed fields from the value object.

Parameters:eventTEvent

The event to update.

valueany

An object with the new field values, for example, a form group value.