Auto refresh list blocks when list details blocks are updated

Hi,
window.dispatchEvent(new CustomEvent('reload-block-total'));

=>If “total” is your custom code block ID, it won’t work as CustomEvent('reload-block-BlockID')); is purely made for dynamic blocks like list, list-details, calendar, kanban or table.

You will nedd to go to this thread to get help: Need to add up the values in a column in your table block and display the Sum at the bottom? Here is how

What could work though is to reload the page automatically:

<script>
window.addEventListener('block-loaded-cart', () => {
    window.addEventListener('update-record-success-cart', () => {
        setTimeout(() => {
            window.location.reload();
        }, 500);
    });
});
</script>