New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.SchedulerAppointmentCollection

Methods

Adds the specified appointment to the collection.

JS
add(Telerik.Web.UI.SchedulerAppointment appointment): void
Parameters:appointmentTelerik.Web.UI.SchedulerAppointment

The appointment to add.

Returns the first appointments that satisfies the specified predicate. The appointment is passed as first argument of the predicate. If the predicate returns true the appointment is returned.

JS
find(Function predicate): Telerik.Web.UI.SchedulerAppointment
Parameters:predicateFunction

The function to execute for each appointment in the collection. For example function

Returns:

Telerik.Web.UI.SchedulerAppointment

An appointment that matches the predicate

Returns a collection of appointments that satisfy the specified predicate. The appointment is passed as first argument of the predicate. If the predicate returns true the appointment is included in the result collection.

JS
findAll(Function predicate): Telerik.Web.UI.SchedulerAppointmentCollection
Parameters:predicateFunction

The function to execute for each appointment in the collection. For example function

Returns:

Telerik.Web.UI.SchedulerAppointmentCollection

A collection of all appointments matching the predicate

Gets the appointment with the specified ID.

JS
findByID(String id): Telerik.Web.UI.SchedulerAppointment
Parameters:idString

The ID of the appointment

Returns:

Telerik.Web.UI.SchedulerAppointment

The appointment with the specified ID

Gets the first appointment that contains the specified resource.

JS
findByResource(Telerik.Web.UI.SchedulerResource value): Telerik.Web.UI.SchedulerAppointment
Parameters:valueTelerik.Web.UI.SchedulerResource

The resource for which to search for

Returns:

Telerik.Web.UI.SchedulerAppointment

The first appointment that contains the specified appointment

Executes the specified function for each appointment in the collection. The appointment is passed as first argument to the function.

JS
forEach(Function lambda): void
Parameters:lambdaFunction

The function to execute for each appointment in the collection. For example function

Gets the number of appointments in the collection.

JS
get_count(): Number
Returns:

Number

The number of appointments in the collection.

Gets the appointment at the specified index in the collection.

JS
getAppointment(Number index): Telerik.Web.UI.SchedulerAppointment
Parameters:indexNumber

The index from which to retrieve the appointment

Returns:

Telerik.Web.UI.SchedulerAppointment

The appointment at the specified index.

Gets a collection of all appointments in the specified range.

JS
getAppointmentsInRange(Date start, Date end): Telerik.Web.UI.SchedulerAppointmentCollection
Parameters:startDate

Range start

endDate

Range end

Returns:

Telerik.Web.UI.SchedulerAppointmentCollection

A collection of all appointments in the specified range

Gets a collection of all appointments that start in the specified range.

JS
getAppointmentsStartingInRange(Date start, Date end): Telerik.Web.UI.SchedulerAppointmentCollection
Parameters:startDate

Range start

endDate

Range end

Returns:

Telerik.Web.UI.SchedulerAppointmentCollection

A collection of all appointments that start in the specified range

Gets the index of the specified appointment in the collection. Returns -1 if the resource is not in the collection.

JS
indexOf(Telerik.Web.UI.SchedulerAppointment appointment): Number
Parameters:appointmentTelerik.Web.UI.SchedulerAppointment

The appointment for which to search in the collection

Returns:

Number

The index of the specified appointment in the collection

Inserts the specified appointment at the specified index in the collection.

JS
insert(Number index, Telerik.Web.UI.SchedulerAppointment appointment): void
Parameters:indexNumber

The index at which to insert the appointment

appointmentTelerik.Web.UI.SchedulerAppointment

The appointment to add.

Removes the specified appointment from the collection.

JS
remove(Telerik.Web.UI.SchedulerAppointment appointment, Boolean deleteSeries): void
Parameters:appointmentTelerik.Web.UI.SchedulerAppointment

The appointment instance to remove.

deleteSeriesBoolean

For recurring appointments only. True if you want to delete the recurring series

Removes the appointment at the specified index from the collection.

JS
removeAt(Number index, Boolean deleteSeries): void
Parameters:indexNumber

The index from which to remove the appointment

deleteSeriesBoolean

For recurring appointments only. True if you want to delete the recurring series

Not finding the help you need?
Contact Support