Visible Days in Timeline-View

Hi,

we try to achieve the following: In TimelineDay and TimelineWeek view with an interval af 365 days, we want to limit the at one time visible​ days to 3 or 7 or whatever. The number should stay the same regardless of the size of the browser. So the column width should be calculated und updated based on the current size of the scheduler-component.

It should look something like this:


With multiple views we want to display different numbers of days/weeks at one.

Is it possible to achieve this?


Regards
David


3 Replies

RM Ruksar Moosa Sait Syncfusion Team September 13, 2022 02:51 PM UTC

Hi David,


Greetings from Syncfusion support.


We have checked on your query and let you know that you can render the Schedule view multiple times with different interval like the below code. Kindly try the attached sample and if we have misunderstood your requirement, then could you please share additional details regarding the requirement.


< ScheduleViews>

        <ScheduleView Option="View.TimelineDay" Interval="3" DisplayName="3 Days"></ScheduleView>

        <ScheduleView Option="View.TimelineDay" Interval="7" DisplayName="7 Days"></ScheduleView>

        <ScheduleView Option="View.TimelineWeek" Interval="8" DisplayName="8 Weeks"></ScheduleView>

    </ScheduleViews>


Output:

Table

Description automatically generated with medium confidence



Regards,

Ruksar Moosa Sait


Attachment: BlazorViewInterval_c91d3d96.zip


DU David Ullrich September 14, 2022 04:04 PM UTC

Hi Ruksar,


thank you for your reply.

I'll try to clearify our needs: We want an interval of 365 days. So we can  scroll to the right 1 year in the future. But we wan't only 3 or 7 days visible on the screen at a time.

So the width of one day should be the total control-width divided by 3 or 7 and should be updated on resizing.


Regards
David



RM Ruksar Moosa Sait Syncfusion Team September 16, 2022 10:34 AM UTC

Hi David,


By default, based on the available width in the scheduler content area, the Scheduler work cells get visible. Hence when the content area width is reduced, the cells in the schedule’s visible area get reduced and increase when the content area width is increased. So it is not possible to render the Scheduler with a fixed visible area (3 days or 7 days) with the current Scheduler architecture.


Kindly let us know if you need any assistance.


Regards,

Ruksar Moosa Sait


Loader.
Up arrow icon