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

How to disable default behavior of clicking cell. (disable editor)

Thread ID:

Created:

Updated:

Platform:

Replies:

143894 Apr 9,2019 03:59 PM UTC Apr 17,2019 04:03 AM UTC React - EJ 2 11
loading
Tags: Schedule
A-User
Asked On April 9, 2019 03:59 PM UTC

Hi,

It seems that I couldn't find a way or API to disable editor popup.
Is there any way to disable the editor popping up?

Just like the effect as ```showQuickInfo={false}```

Thanks

Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 10, 2019 04:01 AM UTC

Hi Allen, 
 
Greetings from Syncfusion. 
 
The onPopupOpen event will be triggered when the cell and event is single / double clicked. In that event function setting args.cancel to true will prevent both the quick popup and editor window. 
 
onPopupOpen(args) { 
    args.cancel = true; 
  } 
 
Note: We can differentiate quick popup and editor window with args.type value. 
 
Regards, 
Karthi 


A-User
Replied On April 10, 2019 06:11 PM UTC

The solution works! Thanks

Another question is if there is a way to detect single and double-clicking when users click the cell.
I tried to observe select and popupOpen, but there is no value to identify the type clicking.

In addition, It seems that select Event cannot differentiate multiple and single cell selecting.


Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 11, 2019 05:00 AM UTC

Hi Allen,  
 
Thanks for your update. 
 
The cellClick and cellDoubleClick event will trigger when the cell is single and double clicked, kindly refer the API section in the below link. 
 
In select event, we can differentiate between single and multi-select action with the help of args.element length.  
 
Regards, 
Karthi 


A-User
Replied On April 11, 2019 03:06 PM UTC

Thanks for the feedback.

I'd like to report a bug.

"In select event, we can differentiate between single and multi-select action with the help of args.element length."

After a multiple selecting, the second single clicking doesn't update 
args.element.

It means that the second clicking brings the previous element. 
The bug happens from time to time. I guess there is a racing condition?
Please check the attachment.

@syncfusion/ej2-react-schedule": "^17.1.38"
react": "^16.5.2"

Attachment: bug_e6c443cf.7z

A-User
Replied On April 11, 2019 03:52 PM UTC

Another bug is to returning wrong time period while selecting crossing day cells.
Is there an API to disable selecting cell crossing day?

Please check the attachemnt. 

Attachment: TimeWrong_3c565d42.7z

A-User
Replied On April 12, 2019 01:26 PM UTC

Hi Allen,  
 
Thanks for your update. 
 
The cellClick and cellDoubleClick event will trigger when the cell is single and double clicked, kindly refer the API section in the below link. 
 
In select event, we can differentiate between single and multi-select action with the help of args.element length.  
 
Regards, 
Karthi 


Any updates for the bugs?
 :)

Nevitha Ravi [Syncfusion]
Replied On April 12, 2019 01:43 PM UTC

Hi Allen, 
 
Thanks for your update. 
 
Q1: We could reproduce the reported issue "second clicking brings previous element"  at our end and confirm this issue as a defect. Therefore, we have logged the bug report for the same which can be available in the following link. The fix for the issue will be included in our weekly patch release which will be rolled out on April 24, 2019. 
 
 
Please share your suggestions and things to be ensured while fixing the issue in the comments section. 
 
Q2:  By default, if multiple days are selected, it will be considered as all-day. So that the startTime and endTime are considered for the selected whole days as in your shared screenshot. 
 
Regards, 
Nevitha 
 


A-User
Replied On April 12, 2019 02:17 PM UTC

Hi Allen, 
 
Thanks for your update. 
 
Q1: We could reproduce the reported issue "second clicking brings previous element"  at our end and confirm this issue as a defect. Therefore, we have logged the bug report for the same which can be available in the following link. The fix for the issue will be included in our weekly patch release which will be rolled out on April 24, 2019. 
 
 
Please share your suggestions and things to be ensured while fixing the issue in the comments section. 
 
Q2:  By default, if multiple days are selected, it will be considered as all-day. So that the startTime and endTime are considered for the selected whole days as in your shared screenshot. 
 
Regards, 
Nevitha 
 


Thanks for the replaying.

Is it possible to limit users can only select one day as Google does?
If there is a prop to disable crossing days, that will be awesome.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 16, 2019 06:09 AM UTC

Hi Allen 
  
Thanks for your update. 
 
We logged the bug report for the requested scenario and the fix will be included in JS2 weekly release on April 30, 2019. 
 
Regards,  
Karthi  
 


A-User
Replied On April 16, 2019 03:33 PM UTC

Hi Karthi,

Will the limited selecting cells functionality be included in the release?

Thanks.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 17, 2019 04:03 AM UTC

Hi Allen,  
 
Yes. 
 
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