Our powerful JS Calendar component


Post by prasath »

Hi All,
There is an UI Specific case handled in Calendar component.Scenario is :
when user is in Month/Week view they can see the list of events in different weeks/months and can perform the actions.When user goes to team view (timeline) using toggle switch by toggling it we will load a bunch/volume of data based on resources.This will be huge so we need to show user a loading state in UI by showing a spinner/loader to make sure data is loading in background.Once data is loaded,loader will be hidden and data will be represented.The Problem here is when this case is implemented we have noticed the team view toggle gets switched off once loader goes off and data gets represented according to resources in team view.We have debugged and printed the state of the mode based on it and everything is fine according to the actions.So need your thoughts on this what makes the switch toggled off again.Will share a sample video to explain it further.

Loader issue in team view.mp4
Loading issue in team view
(11.84 MiB) Downloaded 10 times

In the above video you can see the team view toggle gets switched on and loader gets visible and team view data gets represented.After data is loaded,loader gets hidden but toggle automatically gets switched off.


Post by alex.l »

Hi,

Maybe you re-create/refresh whole page? It looks like React/app level logic thing, there is no code related to this implemented in Bryntum.

How do you load/set data? I am out of ideas, we need to see the code. Please attach runnable test case with instructions how to build/run it, and steps to reproduce. Please remove/comment all not related logic as much as it possible, it will allow us to help you faster.

Thank you!

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply