Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to save updated element on dashboard even after dashboard load #335

Closed
vaniiplon opened this issue Jan 11, 2024 · 2 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@vaniiplon
Copy link

hello Mikhail,

tried with new version released 3.5.0 with dashboard sync option. But still after dashboard reload all dashboard updated elements are going to default values.

Please provide a suggestion for updated element to show on dashboard as it is, so that our customers will have idea of previously set dashboard value. Here, we are not using any database to store the values, so we need an option of saving dashboard

Thanks in advance.

@mikhail-vl mikhail-vl self-assigned this Jan 16, 2024
@mikhail-vl mikhail-vl added the question Further information is requested label Jan 16, 2024
@asimonok
Copy link
Collaborator

@vnvasireddy you can use context.panel.onOptionsChange in the Element Value Changed code. Also you need to save dashboard after all initial values are set in the panel.

Screenshot 2024-02-28 at 14 07 02
context.panel.onOptionsChange({
  ...context.panel.options,
  elements: context.panel.elements,
});

Please let us know if there is anything else

@vaniiplon
Copy link
Author

Thank you its working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants