- Home
- Forum
- JavaScript - EJ 2
- Event row width
Event row width
Hello, the event row width is always set to 96%.
1 - Can i set to 100%? Because, if the user click on the "empty" (4%) row, it will open to create new event in that schedule hour and it's wrong, because already exists.
2 - Another question, if i have many event on the same range of hour, for example:
09:00 Event 1 (09:01)
Event 2 (09:02)
Event 3 (09:03)
09:15 Event 4 (09:04)
Event 15 (09:15)
Can i set this event exactly side by side? Like this:
09:00 Event 1 (09:01) Event 2 (09:02) Event 3 (09:03) Event 4 (09:04)
09:15 Event 15 (09:15)
Thank you very much
SIGN IN To post a reply.
5 Replies
KK
Karthigeyan Krishnamurthi
Syncfusion Team
June 3, 2019 09:57 AM UTC
Dear Customer,
Syncfusion greetings.
We can disable the quick popup and editor window for existing event cell, please refer the below code example.
popupOpen: function (args) {
var schObj = document.querySelector('.e-schedule').ej2_instances[0];
if (args.type === "QuickInfo" || args.type === "Editor") {
args.cancel = !schObj.isSlotAvailable(args.data);
}
}
Only the below layout is applicable for the event with same start time.
Vertical
Timeline
Regards,
Karthi
S_
S_Line
June 3, 2019 10:46 AM UTC
Thank you for the assistance.
Question 1 - it's OK, i will implement.
Question 2 - actually, the startime is not the same, the StarTime is 09:00, 09:01, etc...
Is it possible to keep them at same "row"?
KK
Karthigeyan Krishnamurthi
Syncfusion Team
June 4, 2019 06:28 AM UTC
Dear Customer,
Thanks for the update.
Event with different start time will be displayed only like below in respective mode and not customizable other than it.
Vertical
Timeline
Regards,
Karthi
S_
S_Line
June 4, 2019 10:53 AM UTC
OK,
see my example: https://snag.gy/9DvCei.jpg
You can see on 09:15 thar exists other events. This other events its 09:16, 09:17, etc... i would like to set these at same "top" of 09:15 event.
Its not possible?
KK
Karthigeyan Krishnamurthi
Syncfusion Team
June 5, 2019 04:39 AM UTC
Dear Customer,
Thanks for the update.
No, it is not possible. When the time scale is enabled, the event top will be based on its start time only.
Regards,
Karthi
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
S_ S_Line
- May 31, 2019 01:23 PM UTC
- Jun 5, 2019 04:39 AM UTC