Our powerful JS Calendar component


Post 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?

Attachments
pic1
pic1
picture1.png (39.2 KiB) Viewed 819 times

Post by mats »

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


Post 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?


Post 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.

All the best,
Alex


Post 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)

Post Reply