Impossible to select another row in Dash Data Table when view is changed

The error message is not that helpful. What I’d like is a minimal code example that I can copy and paste and get the same error when I run it. See this post for more on how to do that: How to Get your Questions Answered on the Plotly Forum