when the option is set to ture events /resources are filtered based on the passed filter
is there a way to have the same functionality in a vertical mode scheduler, a public method or something, because i want to pass the filter from outside the bryntum control and on run time
what i'm trying to do is to hide the resource along with it's event, but the event are not updated unless i'm using timeout
the below code is fired on button click
modifyResources() {
let value = "1a";
this.resources = this.resources.filter(r => r.id !== value );
this.scheduler.schedulerEngine.eventStore.filter({
filters: {
property: 'resourceId',
value: value,
operator: '!='
},
//replace: true
});
}
Well, this should be extremely simple. Just filter the resource store. For that, change mode to 'vertical' in angular basic example and then apply the filter to the resource store.