Appointments List in Scheduler by giving date

Hi,

I want to know how to get all the appointments for a selected date in the scheduler.

Suppose here I have selected Dec 3rd, How can I get the appointment mapped to that date



Please help

1 Reply 1 reply marked as answer

NR Nevitha Ravi Syncfusion Team November 12, 2020 06:49 AM UTC

Hi Gayathri, 

Greetings from Syncfusion Support. 

You can get the appointments of selected date using getEvents public method. When passing the start and end time, the appointments for the selected date will be retrieved. Please refer to the following sample. 

  onCellClick(args) { 
    var currentDateEvent = this.scheduleObj.getEvents( 
      args.startTime, 
      args.endTime 
    ); 
  } 

Please try the solution and get back to us if you need any further assistance. 

Regards, 
Nevitha 


Marked as answer
Loader.
Up arrow icon