Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 438
Anton Zaroutski Avatar asked Oct 19 '22 00:10

Anton Zaroutski


1 Answers

Use filterResourcesWithEvents: true

Reference Link: FilterResources

like image 147
Bikram Limbu Avatar answered Oct 23 '22 00:10

Bikram Limbu