Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day / Week View - Template when no events #627

Open
Jnetops opened this issue Dec 1, 2021 · 0 comments
Open

Day / Week View - Template when no events #627

Jnetops opened this issue Dec 1, 2021 · 0 comments

Comments

@Jnetops
Copy link

Jnetops commented Dec 1, 2021

Is there a way to customize what the individual calendar calendar-cell looks like when no event is present for that time slot? I know you could technically create dummy events and use the existing provided templates but that isn't real practical if you are dealing with large time spans where your events array would then contain possibly hundreds of dummy events.

I suppose you could also use a combo of range or date change triggers to populate the events array with dummy events just for that day but if there is an easier way, such as a template I would love to hear it.

I know you can use (onTimeSelected) and if no events are present continue with some action and that is great, however I would love if I could customize a timeslot with things such as how many events are remaining that could be scheduled on that day or similar, using markDisabled works to prevent selection of course and the combo of onTimeSelected and markDisabled will accomplish the general functionality I am looking for on click but the display it's self is what I am trying to figure out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant