Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148547 | Oct 24,2019 10:44 AM UTC | Oct 25,2019 07:50 AM UTC | Blazor | 1 |
![]() |
Tags: Calendar |
@using Syncfusion.EJ2.Blazor.Schedule
<EjsSchedule TValue="AppointmentData" Width="100%" Height="650px" SelectedDate="@(new DateTime(2019, 1, 1))">
<ScheduleEvents TValue="AppointmentData" OnCellClick="OnCellClick"></ScheduleEvents>
</EjsSchedule>
@code{
public void OnCellClick(CellClickEventArgs args)
{
// do ypur customization here
}
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; }
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.