onActionBegin(args) {
if (args.requestType == "eventRemove" || args.requestType == "eventChange") {
let Id = isNullOrUndefined(args.data[0]) ? args.data.Id : args.data[0].Id;
console.log("Appointment ID : " + Id);
}
} |
Hi Hareesh Balasubramanian,
Can you please show the above functionality in angular . I am a beginner so facing issue to do the above code in angular.
Can you please help in this
Hi Rizwan,
We have prepared the to get an Id of the appointment when we click delete or edit button from scheduler.
Sample: https://stackblitz.com/edit/angular-bn9qsg?file=app.component.html,app.component.ts,data.ts
Output:
Kindly try the above sample and let us know if you need any assistance.
Regards,
Ruksar Moosa Sait