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
close icon

Displaying year on month headers in vertical timeline year view & Compact/Trimester View

Hello,

I have two questions for the scheduler component that are somewhat related.

  1. Is it possible to show the year on the months headers in the vertical timeline year view as shown in the capture?
  2. We are using the scheduler to show data across multiple years. We are currently using the vertical timeline year view as seen in the capture, however since there are months were nothing is happening there is a lot of empty space(there are events in 2016 and in 2023 for example). Is it possible to have a trimester view or a compact month view(not show empty month columns) in order to see more of our events on the same page?
Thank you & Kind regards,
Vlad S.

Capture.PNG

3 Replies

RM Ruksar Moosa Sait Syncfusion Team September 1, 2022 11:17 AM UTC

Hi Vlad,


Q1. We have checked on your query and suggest you to set the month header text as MMMM yyyy in the MonthHeaderTemplate tag of the ScheduleTemplates like the below code.We have prepared a sample for your reference. Kindly try the attached sample and let us know if you need further assistance.


[Index.razor]

<ScheduleTemplates>

        <MonthHeaderTemplate>

            <div class="month-text">@((context as TemplateContext).Date.ToString("MMMM yyyy", CultureInfo.InvariantCulture))</div>

        </MonthHeaderTemplate>

</ScheduleTemplates>


Output:

Graphical user interface, application, table

Description automatically generated


Q2. We have checked on your requirement “Is it possible to have a trimester view or a compact month view(not show empty month columns) in order to see more of our events on the same page?” at our end and let you know that we do not have options to customize Schedule as per your requirement with the current Scheduler architecture. Let us know if you need any assistance.


Regards,

Ruksar Moosa Sait


Attachment: BlazorTimelineYearMonthHeaderCustomization_e326dca7.zip


VS Vlad Sucala September 4, 2022 08:49 AM UTC

Hello,


Thank you for your response.


Kind regards,

Vlad S.



VD Vinitha Devi Murugan Syncfusion Team September 5, 2022 04:59 AM UTC

Hi Vlad,


You are most welcome 😊. Please let us know, if you need any further assistance.


Regards,

Vinitha


Loader.
Live Chat Icon For mobile
Up arrow icon