In the Bryntum scheduler UI, can we hide a resource and the entire day activity row temporarily?
Asked
Active
Viewed 545 times
1 Answers
0
Very easy, just look at the store filter API: https://bryntum.com/docs/scheduler/#Core/data/Store#function-filterBy
scheduler.resourceStore.filterBy(resource => resource.age > 25);
Then to reset filters:
https://bryntum.com/docs/scheduler/#Core/data/Store#function-clearFilters

Mats Bryntse
- 564
- 3
- 12
-
Actually I have a option called "hide from view" next to the resource name in bryntum scheduler. I want to Hide that particular resource from the screen upon user request. Will this answer workout for the mentioned action? – srividya Oct 26 '20 at 10:44
-
Also, How to pass the resourceID to the filterby method to hide that resource from View – srividya Oct 26 '20 at 11:13
-
Yes, if you filter out a resource it will not longer be shown. – Mats Bryntse Oct 26 '20 at 16:08