Premium support for our pure JavaScript UI components


Post by sactory »

How to know resource model is visible or not?
I found a resource with code

scheduler.resourceStore.getById(resourceId)

It returns a ResourceModel, but I don't know it is visible or not?


Post by tasnim »

Sorry, I don't understand what you mean by whether it's visible or not. all resources are visible
Could you please clarify a bit?


Post by sactory »

For example here https://bryntum.com/products/scheduler/examples/filtering/
When I input text 'a' to filter, some 'staff' is visible, it is right.
To get a resource, I use the code:

scheduler.resourceStore.getById('c')

It returns a hidden ResouceModel of "Henrik" staff.
How to know this resource is visible?
Pls, see my below image.

Attachments
bryntum_filter_staff.png
bryntum_filter_staff.png (75.16 KiB) Viewed 134 times

Post by tasnim »


Post Reply