is it possible to change data in a view when the databases changes without making a auto-refreshing loop? if so, which is the best way to do this in Mendix?
As far as I know, it is not possible to refresh a dataview automatically after changing attributes of the entity in the database or somewhere else in the app out-of-the-box (there are some modules like Pusher etc. which implement a workaround for that).
What you could do is to add the Microflowtimer widget and refresh the entity of the dataview every x-seconds. But be careful with that, as this can lead to unwanted behaviour when the user is entering data.