The onEventFilter event is triggered for each event in the JavaScript Scheduler to determine the effect of the filter applied using the events.filter() method.
By default, all events remain visible. This event can be used to implement custom filter rules.
DayPilot.Scheduler.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
)