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

Represents a base implementation of the edit service that persists data to CRUD services such as OData.

To use custom models, pass a field map as a constructor parameter in the BaseEditService implementation. Subclasses must implement the read operation (that is not called directly by the base class) and the save method to persist created, updated, and deleted entities.

The events observable publishes the current data when you subscribe, for example, by using an async pipe (more information).

Implementations that utilize dedicated services, such as Google Calendar and Microsoft Exchange, typically implement the EditService of the Scheduler directly.

See example in this article.

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.

valueTEvent

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:

any

the master recurring event for the series.

Checks if the event is a recurrence exception.

Parameters:eventany

The event that will be checked.

Returns:

boolean

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

Checks if the event is part of the recurrence series.

Parameters:eventany

The event that will be checked.

Returns:

boolean

true if the event is an occurrence, an exception, or a 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.

Properties

events

Observable​<TEvent[]>

Emits the current events as an observable stream.

Holds the model field map used for reading and updating data items.