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

Cell click event.

Is there a way to capture the cell click? Also I want to popup my own dialog or modal instead the default one because there are lots of data I want to show.

1 Reply

NR Nevitha Ravi Syncfusion Team October 25, 2019 07:50 AM UTC

Dear customer, 

Greetings from Syncfusion Support. 

Yes, we can use OnCellClick event to capture the cell click. Please find the code snippet for the same. 

@using Syncfusion.EJ2.Blazor.Schedule 
    <EjsSchedule TValue="AppointmentData" Width="100%" Height="650px" SelectedDate="@(new DateTime(2019, 1, 1))"> 
       <ScheduleEvents TValue="AppointmentData" OnCellClick="OnCellClick"></ScheduleEvents> 
    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; } 

We can show custom fields and customize the editor window using EditorTemplate option. Please find the online demo in the following link. 

Kindly try the solutions and get back to us if you need any further assistance. 


Live Chat Icon For mobile
Up arrow icon