Our powerful JS Calendar component


Post by tokytok »

Hi,
I need to add a refresh button.
My refresh action is like this :

handlerRefreshClick() {
    this.calendarRef.current.calendarInstance.crudManager.load().then(
        () => this.calendarRef.current.calendarInstance.activeView.refresh()
    );
}

Data in event request response are updated but the view is not refreshed.
I tried it with and without the callback.

Can you help me ?


Post by mats »

No need to call refresh on the view after a reload. We can never help unless you show us your test case so we can debug it for you.


Post by Animal »

UIs are automatically refreshed on load of new data, so a refresh call on your part should not be necessary. Just the request to the CrudManager to load itself.

If no refresh happens on return of changed valid data from the server then we have to look further.


Post Reply