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 : Image_9799_1692803128008 

but for the same data on blazor we can't retrieve this behaviour :

Image_8475_1692803097080

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 Image_9231_1692804342250

Thanks in advance.


Attachment: Scheduler_3cf51e98.zip

10 Replies 1 reply marked as answer

SR Swathi Ravi Syncfusion Team August 24, 2023 10:20 AM UTC

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


JG Julien Gambini August 28, 2023 03:50 PM UTC

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 :

Image_7444_1693237723831

Regards.


Attachment: blazorandcoreschedulesamples_2470c205_cf8bd841.zip



SR Swathi Ravi Syncfusion Team August 29, 2023 01:10 PM UTC

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


JG Julien Gambini August 29, 2023 01:38 PM UTC

Here is the sample with the modified data :

Image_4401_1693315989816

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 ?

Image_7615_1693316272931

Regards.


Attachment: ScheduleWithModifyData_da6089bd.zip



SR Swathi Ravi Syncfusion Team August 30, 2023 12:37 PM UTC

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


JG Julien Gambini September 11, 2023 07:55 AM UTC

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.



SR Swathi Ravi Syncfusion Team September 12, 2023 12:06 PM UTC

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:

 

Feedback : https://www.syncfusion.com/feedback/46821/events-are-not-rendered-correctly-when-enableautorowheight-is-set-to-true



SK Satheesh Kumar Balasubramanian Syncfusion Team October 6, 2023 12:42 PM UTC

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


Marked as answer

JG Julien Gambini October 10, 2023 07:32 AM UTC

Thank you,

it worked fine

Regards.



SK Satheesh Kumar Balasubramanian Syncfusion Team October 11, 2023 07:52 AM UTC

Hi Julien,

You are most welcome!!!

We are happy that your problem has been resolved now.

Regards,
Satheesh

Loader.
Up arrow icon