I want to add a lot of data into resourceFilter.selected at one time .And these data are generated dynamically. I've tried using circular addition, but that's not working.
please see the video.
Although the item of the resourcefilter is selected, the calendar on the right does not display the corresponding resourceview. However, when I deselect it and then select it again, the view on the right can be displayed .
Another question:Is there any api to select all items in resourceFilter?
As I keep saying. The selected Collection must contain records.
Records that the ResourceStore contains.
this.calendar.resourceStore._data is not records. It is the raw data which you just sent into the resourceStore to become records. It's not documented. _ properties are private anyway and should not be used.
Stores hold records which are live Objects which have properties which update the store when they change. Which have methods which you can call on them.
This is an Object Oriented system. This is not like our competitors where it's all just blobs of data. A Calendar holds real Event objects. And when you pop up the dropdown to select resources. The Combobox's Store contains real Resources.