Dashboard frame not refresh Assistant and timer when change dashboard code

Hi ,

The WebDashboardFrame initialize the assistant and timer only at init stage.
I think that the assistant and timer should be setup once the dashboard code change,because the assistant and timer setting is relate with dashboard .

Hi @lugreen,

Please provide an example when assistant and timer should be updated.

Regards,
Evgeny

Hi Evgeny,

Consider this case:

  1. Place a empty DashboardFrame in MainWindow.
  2. This dashboard frame 's init method will execute after login, at this moment, the dashboard’s code is empty, so the assistant and timer will not be setup.
  3. Then i call dashboard frame 's setCode and refresh method to set a new dashboard for dashboard frame. The new dashboard have timer and assistant config.In this case, But the timer and assistant will don’t works due to the init method not called.

Regards,

Ray

Agree, we should init assistant and timer on manual refresh. We will include this fix in the next Dashboard fix version.
Thank you for your feedback.

Yes, in fact as a workaround i called the init method manually.

Thanks.