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
close icon

Create event by clicking first and last date (without pressing shift)

I would like to know how to create an event by clicking the first and the last date without pressing the shift key.
And by the way, preventing the quick info from showing.

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team August 14, 2019 11:40 AM UTC

Hi Ronan,  
Syncfusion greetings. 
We have prepared the below sample as per your requirement, kindly refer it. 
Kindly refer the below link to disable the quick popup. 
oncellClick(args) { 
    if (this.firstClick == '') { 
      this.firstClick = args 
    } else { 
      this.secondClick = args; 
      let appointment = { 
        Id: this.id++, 
        Subject: 'New Event', 
        StartTime: this.firstClick.startTime,  
        EndTime: this.secondClick.endTime 
      this.firstClick = ''; 
      this.secondClick = ''; 

Live Chat Icon For mobile
Up arrow icon