Event doesn't overlapping with EnableAutoRowHeight set to true
Hi,
We are currently working on the scheduler and trying to migrate from asp net core to blazor.
The events on the previous scheduler (.cshtml) was overlapping :
but for the same data on blazor we can't retrieve this behaviour :
We have enable rowAutoHeight on both and ignoring white space.
Here is the data we used for Dosing station 03, you can notice that the dates don't overlap themselves
Thanks in advance.
Attachment: Scheduler_3cf51e98.zip
Hi Julien,
We have created a sample based on your shared code snippets and checked your reported issue on our end. However, we are unable to replicate the problem you described. In both Core and Blazor implementations, we did not observe any overlapping of appointments as shown in the images. To proceed further and assist you more effectively, please provide the following details:
- Snippets of any style customization you have done in your project or
- Issue reproducing sample or
- If we missed anything in our shared sample, please include it and replicate that sample.
Core:
Blazor:
Regards,
Swathi Ravi
Attachment: blazorandcoreschedulesamples_2470c205.zip
Hello, thank you for your answer,
I tried your sample and when the data dates differ at the level of seconds, my problem appears again.
Here are the data I tried your sample with :
new AppointmentData { Id = 1, Subject = "Meeting", StartTime = new DateTime(2023, 6, 1, 9, 3, 0) , EndTime = new DateTime(2023, 6, 1, 9, 3, 10), OwnerId = 1, RoomId = 1 },
new AppointmentData { Id = 2, Subject = "Meeting", StartTime = new DateTime(2023, 6, 1, 9, 3, 20) , EndTime = new DateTime(2023, 6, 1, 9, 3, 30), OwnerId = 1, RoomId = 1 }
It gave me that :
Regards.
Attachment: blazorandcoreschedulesamples_2470c205_cf8bd841.zip
Julien,
In the last shared sample, we are setting the slot count and interval so that the issue appears. Please check our shared sample below and replicate your reported issue in that sample. It would be more helpful to assist you.
Attachment: BlazorSample7.0_7480b54a.zip
Here is the sample with the modified data :
In this example, events are not in the same row. In ASP NET Core it was in the same row (as shown in my very first screenshot). Is it an expected behavior ?
Regards.
Attachment: ScheduleWithModifyData_da6089bd.zip
Julien,
The cause of the issue is that the appointment start date and end date is in invalid format. We checked the issue by giving the valid format at our end and the appointments are rendered correctly. Please check the shared image below.
|
new AppointmentData { Id = 1, Subject = "Meeting", StartTime = new DateTime(2023, 6, 1, 9, 10, 0) , EndTime = new DateTime(2023, 6, 1, 9, 20, 0), OwnerId = 1, RoomId = 1 }, new AppointmentData { Id = 2, Subject = "Meeting", StartTime = new DateTime(2023, 6, 1, 9, 30, 0) , EndTime = new DateTime(2023, 6, 1, 9, 40, 0), OwnerId = 1, RoomId = 1 } |
Attachment: blazorschedulerappointmentrenderingworkingsample_3ef13436.zip
Hi Ravi,
Thank you for the reply, I don't understand how "new DateTime(2023, 6, 1, 9, 3, 10)" is not a valid format.
Our problem is that we have concecutive data that occur in the same minute which do not overlap together.
Regards.
Julien,
Your reported problem “Events are not rendered correctly when EnableAutoRowHeight is set to true” is considered as a bug. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by end of September 2023. You can track the status of the fix at the following link:
Hi Julien,
We have validated the issue related to the minimum duration for an event being set such that events with a shorter duration will be extended to meet this minimum requirement.
When an appointment has the same start and end time but differs in seconds the default MinimumEventDuration value is applied as 1 minute, which is the cause for the overlapping issue.
So, by using the MinimumEventDuration with a value of 0 in the sample, the issue was resolved.
Regards,
Satheesh
Thank you,
it worked fine
Regards.
- 10 Replies
- 3 Participants
- Marked answer
-
JG Julien Gambini
- Aug 23, 2023 03:28 PM UTC
- Oct 11, 2023 07:52 AM UTC