Hi,
I noticed the new release of bryntum v5.6.7 has a new resourceDateFilter property. I am curious if you guys have any examples of how this can be implemented? (I am using Extjs 7.3.1 framework)
Hi,
We do not have demos, but that obviously a function that will filter data. Here is an example of such filter
// "Hotel" is only to be shown on weekdays
calendar.activeView.resourceDateFilter = ({ resource, date }) => {
return resource.id === 'hotel' ? (date.getDay() > 0 && date.getDay() < 6) : true;
};
All the best,
Alex