Page 1 of 1

[VUE] Resource model is visible or not?

Posted: Thu Jun 01, 2023 6:09 am
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?


Re: [VUE] Resource model is visible or not?

Posted: Thu Jun 01, 2023 7:22 am
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?


Re: [VUE] How to know a resource model is visible?

Posted: Thu Jun 01, 2023 8:28 am
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.


Re: [VUE] Resource model is visible or not?

Posted: Thu Jun 01, 2023 8:41 am
by tasnim