How to limit min / max calendar dates in Timeline view?


I have a pretty simple timeline view that shows years by month. However, I can’t seem to find out how to limit the min/max dates available. You see, I don’t want users to be able to keep paging “prev” or “next” forever. For example, I only want users to be able to go as far back as Jan 1, 2016 and as far forward as Dec 31, 2023.

Any pointers are welcome. Thank you!


To limit dates you need to use onBeforeViewChange event. Please, check the demo: … event.html