Anton Zaroutski
Anton Zaroutski

Reputation: 61

Hide resources (rows) without any events in FullCalendar Scheduler

Is there any way to hide the resources (rows) in a One Day view of a FullCalendar Scheduler instance if there are no events associated with that resource(s) (row) on the selected day?

If I, then, go and change the date and the hidden resource has an event associated with it, I'd like to re-display that resource together with its event(s).

The use case for this is an app that allows entering expressions of interest of viewing for multiple venues for multiple people. In a one day view, my resources are the venues. I don't want to display a venue unless it has one booking.

Upvotes: 6

Views: 4067

Answers (1)

Bikram Limbu
Bikram Limbu

Reputation: 441

Use filterResourcesWithEvents: true

Reference Link: FilterResources

Upvotes: 5

Related Questions