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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

146590 Aug 9,2019 09:47 AM UTC Aug 14,2019 11:40 AM UTC React - EJ 2 1
loading
Tags: Schedule
Ronan Ca
Asked On August 9, 2019 09:47 AM UTC

Hello,
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.
Regards,
Ronan

Karthigeyan Krishnamurthi [Syncfusion]
Replied On 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.scheduleObj.addEvent(appointment); 
      this.firstClick = ''; 
      this.secondClick = ''; 
    } 
 
  } 
 
Regards, 
Karthi 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon