Auto update grid and other components (for everyone)

Does anyone have a good practice on how to implement auto updating grids/components (e.g. text fields etc) when updating an object via Dialog etc.

Is there also a nice way to components on every client that views the same object? So i change the name of a user and it auto updates the name on the site of another user? Like a global changing variable?

For example:

User A views:
Grid of Users

User B changes his username

Grid of users that is shown to User A should auto update