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

EditService

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

Methods

create

Creates a new event.

Parameters

event

TEvent

The event to create.

createException

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

event

TEvent

The occurrence to remove from the series.

value

any

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

findRecurrenceMaster

Returns the master recurring event for a specified recurring event.

Parameters

event

TEvent

An event from the recurrence series.

Returns

TEvent

The master recurring event for the series.

isException

Checks if the event is a recurrence exception.

Parameters

event

TEvent

The event to check.

Returns

boolean

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

isRecurring

Checks if the event is part of a recurrence series.

Parameters

event

TEvent

The event to check.

Returns

boolean

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

remove

Removes a non-recurring event.

Parameters

event

TEvent

The event to remove.

removeOccurrence

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

event

TEvent

The occurrence to remove.

removeSeries

Removes the recurrence series and any exceptions.

Parameters

event

TEvent

Any event from the recurrence series.

update

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

Parameters

event

TEvent

The event to update.

value

any

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

In this article
Methods
Not finding the help you need?
Contact Support