The onEventFilter event is called for every event to resolve the filter applied using events.filter() call. The default behavior is to keep all events visible. Use this event to implement custom filter rules.
- args.e - DayPilot.Event object
- args.filter - custom filter object supplied by events.filter() method
- args.filterParam - an alias for args.filter (since 2020.1.4266)
- args.visible - boolean value that determines if the event should be made visible (default value is true)