DayPilot.Calendar.events.filter

The events.filter() method applies a filter to the events in the JavaScript Calendar. The Calendar then updates the event list, selectively hiding events based on the criteria implemented in the onEventFilter event handler.

Declaration

DayPilot.Calendar.events.filter(filter);

Parameters

  • filter - custom object with filter parameters that will be passed to onEventFilter (available as args.filterParam). Use null as the filter parameter to clear the filter and display all events.