The onEventFilter event is triggered for each event in the JavaScript Calendar to determine the effect of the filter applied using the events.filter() method.
By default, all events are visible. This event can be used to implement custom filter rules.
DayPilot.Calendar.onEventFilter(args);
args.e
- DayPilot.Event object
args.filterParam
- custom filter object supplied by events.filter() method
args.visible
- boolean value that determines if the event should be made visible (default value is true
)