question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method to change the first day in the timeline view with a custom duration of a few days

See original GitHub issue

Request for a method to change the first day in multi-day timeline view.

gotoDate achieves that when the day is not already visible, but when the day is already somewhere in the view, gotoDate does not change it to the first day. As a workaround, gotoDate can first be called with a date outside the view (eg. 1970-01-01) then back to the date which makes it the first day of the week.

Desired effect can be seen by increment the date in this demo.

https://codepen.io/acerix/pen/eoPmOx?editors=0010

Reported in https://fullcalendar.freshdesk.com/a/tickets/818

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:12
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
crisratcommented, May 8, 2019

yeah, same issue for me

0reactions
arshawcommented, Jun 16, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the appearance of a timeline in Project Web App
Change how dates are displayed · Click once on the timeline to select it. · On the Timeline tab, in the Show/Hide group,...
Read more >
Docs Timeline View - FullCalendar
FullCalendar Premium provides a view called “timeline view” with a customizable horizontal time-axis and resources as rows.
Read more >
The Timeline Column - monday.com Support
Select the items that you wish to shift and click on the Timeline cell. At the bottom of the calendar window, select 'Shift...
Read more >
Timeline View Scheduler Docs - DHTMLX Documentation
To add the Timeline view to the scheduler, follow these steps: Activate the Timeline extension on the page: ... In the 'Days' mode,...
Read more >
Custom timeline view over two days, but only showing time ...
I've tried using minTime and maxTime with a custom 2 day timeline view, but with minTime being 22:00 and maxTime as 07:00, it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found