Refresh dataset after save or update in database

Hi code community! Firstable, thanks at all for estay here and help.

I want now if it possible that thing. “Refresh dataset after save or update in database”

do it’s make with hooks?

$w('#dataset1').onAfterSave(() => {
    $w('#dataset1').refresh();
})

It’s that easy!
Enjoy. :wink: