Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.SchedulerAppointmentCollection
Methods
Adds the specified appointment to the collection.
add(Telerik.Web.UI.SchedulerAppointment appointment): void
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.
find(Function predicate): Telerik.Web.UI.SchedulerAppointment
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.
findAll(Function predicate): Telerik.Web.UI.SchedulerAppointmentCollection
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.
findByID(String id): Telerik.Web.UI.SchedulerAppointment
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.
findByResource(Telerik.Web.UI.SchedulerResource value): Telerik.Web.UI.SchedulerAppointment
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.
forEach(Function lambda): void
The function to execute for each appointment in the collection. For example function
Gets the number of appointments in the collection.
get_count(): Number
Number
The number of appointments in the collection.
Gets the appointment at the specified index in the collection.
getAppointment(Number index): Telerik.Web.UI.SchedulerAppointment
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.
getAppointmentsInRange(Date start, Date end): Telerik.Web.UI.SchedulerAppointmentCollection
Range start
endDateRange 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.
getAppointmentsStartingInRange(Date start, Date end): Telerik.Web.UI.SchedulerAppointmentCollection
Range start
endDateRange 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.
indexOf(Telerik.Web.UI.SchedulerAppointment appointment): Number
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.
insert(Number index, Telerik.Web.UI.SchedulerAppointment appointment): void
The index at which to insert the appointment
appointmentTelerik.Web.UI.SchedulerAppointmentThe appointment to add.
Removes the specified appointment from the collection.
remove(Telerik.Web.UI.SchedulerAppointment appointment, Boolean deleteSeries): void
The appointment instance to remove.
deleteSeriesBooleanFor recurring appointments only. True if you want to delete the recurring series
Removes the appointment at the specified index from the collection.
removeAt(Number index, Boolean deleteSeries): void
The index from which to remove the appointment
deleteSeriesBooleanFor recurring appointments only. True if you want to delete the recurring series