Hey @bartvanes - this is not yet supported in Streamlit, unfortunately.
But! We have an upcoming plugins feature (discussed on the Streamlit 2020 Roadmap) that will let anyone write their own frontend component that integrates with Streamlit, which will make building this sort of thing much more straight-forward.