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

Custom header in day view to show all week dates

Hi,

I want to have custom header in day view to show all week dates. If I scroll the header only to right or left, I should see next or previous week dates (much like same as the option is there in week view).

If I scroll body of the scheduler then corresponding date should be selected in header.

So basically I want to have week view header and day view body

How can I achieve this?


1 Reply 1 reply marked as answer

MS Muniappan Subramanian Syncfusion Team September 3, 2021 11:24 AM UTC

Hi Rupesh, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your requirement “Custom header in day view to show all week dates”. You can achieve your requirement by collapse the default header and view header of the schedule by setting the “HeaderHeight” and “ViewHeaderHeight” property of SfSchedule as 0. Instead, you can use your own custom header for it. while using a custom header, the respective date value can be obtained from the “VisibleDatesChanged” event of SfSchedule. We have prepared a sample for the same, please find the sample by the following link.  
 
 
Please find the output for the same, 
 
 
Please refer the below link for more details about customize the Header in SfSchedule, 
 
We hope this helps. Kindly revert us if you have any concern. 
 
Regards, 
Muniappan S. 


Marked as answer
Loader.
Up arrow icon