Set scroll position for dash datatable through callback


Is it possible to set the scroll position (ie. to the very beginning) of a Dash datatable through a callback?

I am refreshing the data of the datatable through a callback updating the ‘data’ prop. However, if the user scrolled down, the scroll position doesn’t change even after returning new data, which can be confusing for the user.

The datatable I currently have is paginated, so I am able to set the page to pg. 1 upon new data. However, I’d like to do the same for the scroll position or row displayed.

Any ideas?