We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to prevent the default popup coming out on double click on Calendar cell?

How to capture the double click just like the single click event and prevent the default popup from coming out?
It only comes out if there's a value inside the cell.

3 Replies

NR Nevitha Ravi Syncfusion Team December 9, 2019 10:41 AM UTC

Dear Customer, 

Greetings from Syncfusion Support. 

We can prevent the default editor popup on cell alone using OnPopupOpen event. Please refer the following code example to meet your requirement. 

    private void OnPopupOpen(PopupOpenEventArgs<AppointmentData> args) 
    { 
        if (args.Data.Id == 0 && args.Type == PopupType.Editor) //to prevent the editor on cells 
        { 
            args.Cancel = true; 
        } 
    } 

To prevent both editor and quick popup on cell, use ‘args.Cancel= true;’ within OnCellClick and OnCellDoubleClick events. Also to prevent the editor popup on both cell and appointment, please refer the following UG link. 

Regards, 
Nevitha. 



J j December 13, 2019 04:05 PM UTC

Thank you for the idea but actually I want the default popup from coming out altogether. Now it's working!


NR Nevitha Ravi Syncfusion Team December 16, 2019 06:16 AM UTC

Dear Customer, 
  
You are most welcome. Please keep in touch with us if you need any assistance as we are always happy in assisting you. 
  
Regards, 
Nevitha 


Loader.
Live Chat Icon For mobile
Up arrow icon