DayPilot.Calendar.onEventFilter

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.

Declaration

DayPilot.Calendar.onEventFilter(args);

Parameters

  • args.eDayPilot.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)