ASPxClientAppointment.SetEnd(end) Method
In This Article
Sets the property value of the client appointment, corresponding to the Appointment.End appointment property.
#Declaration
TypeScript
SetEnd(
end: Date
): void
#Parameters
Name | Type | Description |
---|---|---|
end | Date | A Java |
#Remarks
Use the ASPxClientAppointment.GetEnd method to obtain the end of the client appointment.
function CreateAppointment(scheduler) {
var apt = new ASPxClientAppointment();
var selectedInterval = scheduler.GetSelectedInterval();
apt.SetStart(selectedInterval.GetStart());
apt.SetEnd(selectedInterval.GetEnd());
apt.AddResource(scheduler.GetSelectedResource());
apt.SetLabelId(0);
apt.SetStatusId(0);
return apt;
}
See Also