Please can you show,how to delete created meetings,take id of meeting from schedule.

I can handle how to show data from my api and send it to calendar with eventSettings, but the issue is i could not delete my created meeting from my backend(which i created on nestjs) with your provided buttons, how to get an id of my meeting when i click delete or edit button from calendar. It would be great to provide some answers)
I use ejs-react-scheduler.Here below i provided screen.

Attachment: screen_9172f89e.zip

7 Replies

HB Hareesh Balasubramanian Syncfusion Team April 3, 2020 10:48 AM UTC

Hi Darkhan, 

Greetings from Syncfusion Support. 

We have validated your reported scenario at our end and for the we have prepared a sample using actionBegin event. And the sample can be viewed from the following link. 

Code snippet
  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); 
    } 
  } 


Kindly try the above sample and if you have any other concerns please revert for further assistance. 

Regards, 
Hareesh 



DM Darkhan Myrzabek April 3, 2020 11:34 AM UTC

Thank you,you are great!)


VM Vengatesh Maniraj Syncfusion Team April 6, 2020 03:52 AM UTC

Hi Darkhan, 

You are most welcome.  

Please get in touch with us if you would require any further assistance. 

Regards, 
Vengatesh 



DM Darkhan Myrzabek April 6, 2020 07:09 AM UTC

And how to disable location and description input?


RV Ravikumar Venkatesan Syncfusion Team April 7, 2020 07:15 AM UTC

Hi Darkhan, 

Thanks for the update. 

Based on your requirement we have hidden the location and description field in the editor window with the help of CSS code below. 

You can hide the location and description field with below code. 

.e-location-container, .e-description-row { 
  display: none; 
} 

You can set the subject field width to 100% with below code. 

.e-subject-container { 
  width: 100% !important; 
} 



Kindly try the above sample and get back to us If you would require any further assistance. 

Regards, 
Ravikumar Venkatesan 



RS Rizwan Shaikh replied to Hareesh Balasubramanian July 14, 2022 07:40 AM UTC

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



RM Ruksar Moosa Sait Syncfusion Team July 15, 2022 06:37 AM UTC

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:

Graphical user interface, application, Word

Description automatically generated

Graphical user interface, application, Word

Description automatically generated


Kindly try the above sample and let us know if you need any assistance. 


Regards,

Ruksar Moosa Sait


Loader.
Up arrow icon