The events.filter() method applies a filter to the events in the JavaScript Scheduler. The Scheduler then updates the event list, selectively hiding events based on the criteria implemented in the onEventFilter event handler.
DayPilot.Scheduler.events.filter(filter);
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).