Blazor Scheduler OpenEditor parameters appear to have changed?

Hi,

I've been learning about the Scheduler functions and how they can be used. While I've been trying to create a new QuickInfoPopup I found a brickwall of sorts.

In the documentation: https://blazor.syncfusion.com/documentation/scheduler/editor-template/#customizing-quick-popups under: Customizing quick popup on cell

The requirements behind the OpenEditor appear to have changed as I am using an extension of AppointmentData to learn.
private async void OnMoreDetailsClick(MouseEventArgs args, ScheduleData.ObjectData data)
{
await SheduleRef.CloseQuickInfoPopup();
ScheduleData.ObjectData eventData = new ScheduleData.ObjectData
{
Id = new Random().Next(1000),
Subject = SubjectRef.Value ?? "",
StartTime = data.StartTime,
EndTime = data.EndTime,
Location = data.Location,
Description = DescriptionRef.Value ?? "",
IsAllDay = data.IsAllDay,
RoomId = BaseObjTypeRef.Value,
RecurrenceException = data.RecurrenceException,
RecurrenceID = data.RecurrenceID,
RecurrenceRule = data.RecurrenceRule
};
await SheduleRef.OpenEditor(eventData, CurrentAction.Add, true); //Appears to have changed
}



I've searched and searched but cannot find where to acquire CellClickEventArgs or then subsequently how to pass the data on which the original documentation demonstrates.

If someone is able to point me in the right direction it would be very appreciated.

Thanks,
Tom

4 Replies 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team December 15, 2020 11:51 AM UTC

Hi Thomas, 

Greetings from Syncfusion Support. 

We have validated your reported problem at our end and let you know that the OpenEditor method parameter has changed from version 18.3.35. Kindly refer to the below links to know more details about the OpenEditor method and its type. 


And we have prepared a sample for your reference which can be downloaded from the below link. 


await ScheduleRef.OpenEditor(eventData, CurrentAction.Add); 

Kindly try the above solution and let us know if you need further assistance. 

Regards, 
Balasubramanian S

Marked as answer

BS Balasubramanian Sattanathan Syncfusion Team December 15, 2020 01:04 PM UTC

Hi Thomas, 

Also, we will correct and refresh the outdated code snippets in our upcoming Volume 4, 2020 release. We would appreciate your patience until then. 

Regards, 
Balasubramanian S


TH Thomas December 17, 2020 01:10 PM UTC

Hi Balasubramanian,

Thanks for your fast reply and solution!

That has worked an I am kicking myself that I didn't try adding or removing paramters.

I look forward to the updated documentation.

Regards,
Tom


NR Nevitha Ravi Syncfusion Team December 18, 2020 06:48 AM UTC

Hi Thomas, 

You are most welcome and we let you know that our documentation has been refreshed with working code snippets. 

Regards, 
Nevitha 


Loader.
Up arrow icon