The events.filter() method applies a filter to the events displayed in the JavaScript Calendar component.
After the filter is applied, the Calendar updates the event list and hides events according to the criteria implemented in DayPilot.Calendar.onEventFilter.
DayPilot.Calendar.events.filter(filter)filter (object | null) - custom filter data passed to DayPilot.Calendar.onEventFilter as args.filterParam; use null to clear the filter and show all events
The filtering logic is defined by DayPilot.Calendar.onEventFilter, which decides which events remain visible for the supplied filter parameter.
calendar.events.filter({ text: "meeting" });DayPilot.Calendar.onEventFilter
Event Filtering [doc.daypilot.org]