Page 1 of 1

[ANGULAR] resourceFilter is not automatically selected after calendar.project.loadInlineData

Posted: Tue Nov 02, 2021 5:17 am
by lanpeng

Hi bryntum ,
As shown in pic1, I set eventdata and resourcedata through calendar.project.loadInlinedata after getting the data from the backend .
sometimes, all the options in resourcefilter are not selected 。So that there is no Eventdata in the calendar on the right.

this.calendar.project.loadInlineData({
        eventsData:this.events,
        resourcesData:this.resourceGroup
      })

I am sure that this.events and this.resourceGroup are formatted and not empty.
Is there a problem or do I lack any configuration?


Re: [ANGULAR] resourceFilter is not automatically selected after calendar.project.loadInlineData

Posted: Tue Nov 02, 2021 12:48 pm
by mats

Looks like a bug yes, we'll investigate! https://github.com/bryntum/support/issues/3652


Re: [ANGULAR] resourceFilter is not automatically selected after calendar.project.loadInlineData

Posted: Wed Dec 01, 2021 5:26 am
by lanpeng

Hi bryntum team
I thought you would fix this bug in 4.3.3. But not. Now it's embarrassing that my project may be delayed because of these bug( #3652 and #3664). So, when will you release 4.3.4?


Re: [ANGULAR] resourceFilter is not automatically selected after calendar.project.loadInlineData

Posted: Wed Dec 01, 2021 2:31 pm
by alex.l

Hi lanpeng,

Sorry for that. We can't provide the dates, but usually we do minor releases every 2-3 weeks.
You could download nightly builds on the next day after these bugs will have "resolved" status.


Re: [ANGULAR] resourceFilter is not automatically selected after calendar.project.loadInlineData

Posted: Fri Feb 04, 2022 1:46 pm
by mats

@lanpeng:

You should be able to simply apply selection after you load your new data:

this.calendar.project.loadInlineData({
        eventsData:this.events,
        resourcesData:this.resourceGroup
      })
      
// Select all after load calendar.widgetMap.resourceFilter.selected.add(calendar.resourceStore.records)