EventFilter
Adds event filter menu items to the timeline header context menu.
Event filter
//<code-header>
fiddle.title = 'Event filter';
//</code-header>
targetElement.innerHTML = '<p>Right click the timeline header to open context menu and type in the "Filter tasks" menu item to filter tasks in the Scheduler:</p>';
const scheduler = new Scheduler({
appendTo : targetElement,
// makes scheduler as high as it needs to be to fit rows
autoHeight : true,
features : {
eventFilter : true // true by default
},
startDate : new Date(2021, 4, 3),
endDate : new Date(2021, 4, 10),
columns : [
{ field : 'name', text : 'Name', width : 100 }
],
resources : [
{ id : 1, name : 'Bernard' },
{ id : 2, name : 'Bianca' }
],
events : [
{ id : 1, name : 'Golf', resourceId : 1, startDate : '2021-05-04', endDate : '2021-05-05' },
{ id : 2, name : 'Fitness', resourceId : 2, startDate : '2021-05-05', endDate : '2021-05-06' }
]
});const scheduler = new Scheduler({
features : {
eventFilter : true // `true` by default, set to `false` to disable the feature and remove the menu item from the timeline header
}
});
This feature is enabled by default
Configs
9
Configs
9Misc
bubbleEventsEvents
callOnFunctionsEvents
clientInstancePlugin
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
Other
Properties
15
Properties
15Common
disabledInstancePlugin
Class hierarchy
Identifies an object as an instance of EventFilter class, or subclass thereof.
Identifies an object as an instance of EventFilter class, or subclass thereof.
isEventsEvents
isInstancePluginInstancePlugin
isLocalizableLocalizable
Other
Functions
28
Functions
28Configuration
Events
detachListenersBase
Misc
animatePropertyBase
callbackBase
doDisableInstancePlugin
downloadTestCaseBase
resolveCallbackBase
updateLocalizationLocalizable
Other
addListenerEvents
hasListenerEvents
onEvents
relayAllEvents
removeAllListenersEvents
removeListenerEvents
resumeEventsEvents
suspendEventsEvents
triggerEvents
unEvents
Events
5
Events
5Event handlers
5
Event handlers
5Typedefs
1
Typedefs
1BryntumListenerConfigEvents