- Home
- Forum
- React - EJ 2
- How to disable default behavior of clicking cell. (disable editor)
How to disable default behavior of clicking cell. (disable editor)
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
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
SIGN IN To post a reply.
11 Replies
KK
Karthigeyan Krishnamurthi
Syncfusion Team
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-
A-User
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.
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.
KK
Karthigeyan Krishnamurthi
Syncfusion Team
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-
A-User
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"
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"
A-
A-User
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
Is there an API to disable selecting cell crossing day?
Please check the attachemnt.
Attachment: TimeWrong_3c565d42.7z
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?
:)
NR
Nevitha Ravi
Syncfusion Team
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
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.
KK
Karthigeyan Krishnamurthi
Syncfusion Team
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-
A-User
April 16, 2019 03:33 PM UTC
Hi Karthi,
Will the limited selecting cells functionality be included in the release?
Will the limited selecting cells functionality be included in the release?
Thanks.
KK
Karthigeyan Krishnamurthi
Syncfusion Team
April 17, 2019 04:03 AM UTC
Hi Allen,
Yes.
Regards,
Karthi
SIGN IN To post a reply.
- 11 Replies
- 3 Participants
-
A- A-User
- Apr 9, 2019 03:59 PM UTC
- Apr 17, 2019 04:03 AM UTC