How to use JS to set List and Library Control's data source

Hello, my first post. I could not find a way to use JS to set the data source of my List and Library control. Does anyone know how to do it? Thanks a lot!


Dear @zymwh,
Currently, it cannot be changed with JavaScript, we've had no requests so far. But it does sound interesting, and something we'd like to add. Would you consider paid support for us to implement this feature? If you do, please, write us with all the required details to [email protected] and we can discuss potential implementation.