Quickinfo - no Delete

how can i manage the quick Info template - that just EDIT is available but not DELETE?



Attachment: Bildschirmfoto_20210817_um_09.20.39_96bc9852.zip

3 Replies

VD Vinitha Devi Murugan Syncfusion Team August 18, 2021 06:59 AM UTC

Hi Isabelle, 
 
Greetings from Syncfusion Support. 
 
We have validated your reported query “how can i manage the quick Info template - that just EDIT is available but not DELETE?” at our end. We have achieved your requirement with the help of popupOpen event of our scheduler with below code and for the same we have prepared the below sample. 
 
 
    onPopupOpenfunction (args) { 
      if (args.type === "QuickInfo") { 
        var deleteEle = args.element.querySelector(".e-event-popup .e-delete"); 
        if (deleteEle) { 
          deleteEle.ej2_instances[0].disabled = true; 
        } 
      } 
    }, 
 
Kindly try with the above sample and get back to us if you need any further assistance. 
 
Regards, 
Vinitha 



IF Isabelle Fuchs August 18, 2021 08:12 AM UTC

worked! thanks!



NR Nevitha Ravi Syncfusion Team August 19, 2021 08:24 AM UTC

Hi Isabelle, 

You are most welcome..! we are glad that our solution worked at your end. Please get back to us if you need any further assistance. 

Regards, 
Nevitha. 


Loader.
Up arrow icon