Our powerful JS Calendar component


Post by anthony.dasre »

Hello everyone,

I have utilized "calendar.crudManager.load()" to reload the data after using the custom eventEdit. However, it loads the data correctly without refreshing the dayView, which doesn't open beforehand.

For instance, before adding an event, it appears as follows with the dayView of "ww" and "Camille Pierrat".

Capture 1.png
Capture 1.png (139.09 KiB) Viewed 173 times

After adding an event for the resource "Celine" using my custom eventEdit,

Capture 2.png
Capture 2.png (55.47 KiB) Viewed 173 times

and using calendar.crudManager.load() to reload the data, the newly added event isn't shown in the resource "Celine" after I select it.

Capture 3.png
Capture 3.png (129.82 KiB) Viewed 173 times

However, if I reload the entire page, it will be displayed.
Furthermore, if I attempt to add the event to the resource "ww" and "Camille Pierrat", the changes will be reloaded correctly.

Thanks.


Post by Animal »

What data comes back in the load response? What does the Store actually contain after the load?

What version are you using? That sidebar looks like it's being stretched by the ChipView which does not happen in the latest version:

Screenshot 2024-03-07 at 13.42.12.png
Screenshot 2024-03-07 at 13.42.12.png (124.2 KiB) Viewed 165 times

Post by anthony.dasre »

The data that comes back in the load response is correct which contains the newly added event. And the Store, too.

I am using the version "5.3.6".

Thanks.


Post by anthony.dasre »

eventstore

c1.png
c1.png (106.95 KiB) Viewed 161 times
c2.png
c2.png (97.46 KiB) Viewed 161 times

data reponse stock in the data.txt after reload.

The event which id = 423 is the newly added.

Attachments
data.txt
(175.59 KiB) Downloaded 15 times

Post by Animal »

When I load that data directly into the CrudManager, I get the following events for those three resources on the 9th or March 2024. It looks correct:

Screenshot 2024-03-07 at 14.29.21.png
Screenshot 2024-03-07 at 14.29.21.png (332.62 KiB) Viewed 156 times

I think you should upgrade to the latest Calendar version:


Post Reply