vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I restrict the start and end date of a view

ukdesignservices opened this issue · comments

Is it possible to set a fixed range for a view, for example between Jun 20th and August 1st and disable the month navigation outside this range?
Many thanks

I think you need a setting similar to validRange, which is not implemented in the Event Calendar. I will leave this ticket open until it is implemented. Unfortunately, I can't give an approximate date.

Sorry for shitposting.
I really wish the validRange to be implemented.

More specifically, I want the normal user to be able to choose only a specific time range but paid users can choose more broader time range.

Are there any ways to do this other than setting non-existent events for normal users so that they cannot select those time ranges?

I really wish the validRange to be implemented.

It seems to me that you need something different, because validRange would limit the navigation to days, but will not affect the displayed time within a single day.

Sorry, you're right.
It seems what I'm trying to do should be done with something else but not with a calendar.