Notifications when error occurred

i have a grid with data updating continously. need to implement a notification on main UI
when data changes. is there any way?
created a notification button on main page but it only shows data and no of notifications when clicked. have kept number of notifications as a label to notification button so it only works when click. need to update label as data changes in grid of one of the menubar item.

Hi,

I’m not sure if I’m understanding correctly but if you want to update a view from the server side then you should use Push.

You can find an example how to push changes from one user to the other here: https://vaadin.com/docs/flow/advanced/tutorial-push-broadcaster.html

I think that could help you.

I’ve also done a demo (2 years ago so it may be a bit outdated) based on this broadcaster to push updates on the UI: https://github.com/jcgueriaud/demo-common-mailbox