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. Image for the cookie policy date

Can't resize appointments when using ScheduleEvents

I just updated to 17.4.39 from 17.3.18 and now I can't resize appointments in the month view while using <ScheduleEvents>.  If I try to resize the appointment, the appoint doesn't change size, the resize handler disappears and the appoint loses focus, and then I can no longer interact with the appointment.  The following reproduces the issue.  Is this a bug or is there an error in the way I have updated my code for 17.4.39?

<EjsSchedule TValue="AppointmentData"
             Height="100%"
             Width="100%"
             CurrentView="View.Month"
             SelectedDate="@(new DateTime(2019,12,1))">
    <ScheduleViews>
        <ScheduleView Option="View.Month"></ScheduleView>
    </ScheduleViews>
    <ScheduleEvents TValue="AppointmentData"
                    OnResizeStart="OnResizeStart"></ScheduleEvents>
    <ScheduleEventSettings DataSource="DataSource">
    </ScheduleEventSettings>
</EjsSchedule>
@code{
    AppointmentData appointmentModel = new AppointmentData();
    List<AppointmentData> DataSource = new List<AppointmentData>
{
        new AppointmentData{ Id = 1, Subject = "Meeting1", Location="Charleston, SC", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
        new AppointmentData{ Id = 2, Subject = "Meeting2", Location="San Diego, CA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
        new AppointmentData{ Id = 2, Subject = "Meeting3", Location="Somewhere, VA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)}
    };
    public class AppointmentData
    {
        public int Id { get; set; }
        public string Subject { get; set; }
        public string Location { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string Description { get; set; }
        public bool IsAllDay { get; set; }
        public string RecurrenceRule { get; set; }
        public string RecurrenceException { get; set; }
        public Nullable<int> RecurrenceID { get; set; }
    }
   
    private void OnResizeStart(ResizeEventArgs<AppointmentData> eventArgs)
    {
    }
}



3 Replies

NR Nevitha Ravi Syncfusion Team December 30, 2019 12:22 PM UTC

Hi Kevin, 

Greetings from Syncfusion Support. 

We could replicate the reported issue “appointments resizing action not working when OnResizeStart event is used” at our end and confirm this as a defect. Therefore, we have logged the bug report which can be tracked from the following link. 

The issue fix will be included in our bi-weekly patch release scheduled on mid of January 2020. We would appreciate your patience until then. 

Regards, 
Nevitha 



UN Unknown January 8, 2020 03:15 AM UTC

Thank you for your response.


AK Alagumeena Kalaiselvan Syncfusion Team January 8, 2020 05:05 AM UTC

Hi Kevin, 

You are most welcome!.. 

We are glad to inform that the reported issue “ can’t resize appointments when using scheduler events ” has been resolved in our latest release version v17.4.41. Please find the release notes for this issue fix.  


Kindly get back to us , if you need further assistance. 

Regards 
Alagumeena.K 


Loader.
Up arrow icon