How to month and year to with appointment detail in agenda view

I'm using agenda view in sfschedule to show appointment details. On selecting a date, appointments for that date will be displayed in the agenda view 


In agenda view, first date and day showed before appointment detail. But I want to show month and year too with date and day.  


How can I update that? 

Thanks,



Attachment: sample.png_2c706853.zip

2 Replies

SS SaiGanesh Sakthivel Syncfusion Team January 18, 2022 02:11 PM UTC

Hi Hardik, 
 
#Regarding month and year to with appointment detail in agenda view
Currently, we are validating the reported query from our end. We will update you the further details on the January 20, 2022. We appreciate the patience until then.
 
 
Regards,
SaiGanesh Sakthivel
 



SS SaiGanesh Sakthivel Syncfusion Team January 20, 2022 01:40 PM UTC

Hi Hardik, 
 
#Regarding Showing the month and year in the Agenda view 
As per the implementation of SfSchedule, there is no support for displaying the month and year in the agenda view for selected date. We suggest you to set the next month visible date as the selected date or selected date as null using the VisibleDatesChanged event when date changed. Please refer to the following code snippet for your reference. 
 
Code snippet 
private void Schedule_VisibleDatesChanged(object sender, VisibleDatesChangedEventArgs e) 
{ 
    NSDate date = e.VisibleDates.GetItem<NSDate>(21); 
    calendar = NSCalendar.CurrentCalendar; 
 
    // Get the year, month, day from the date 
    NSDateComponents components = calendar.Components( 
    NSCalendarUnit.Year | NSCalendarUnit.Month | NSCalendarUnit.Day, date); 
 
    // Set the hour, minute, second 
    components.Day = 1; 
    schedule.SelectedDate = calendar.DateFromComponents(components); 
} 
 
Please refer to the sample in the following link for your reference. 
 
Please let us know if you have any concerns. 
 
Regards,
SaiGanesh Sakthivel
 


Loader.
Up arrow icon