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
|
await ScheduleRef.OpenEditor(eventData, CurrentAction.Add); |