The transport settings are stored in the dataSource at: dataSource.transport.options. If you had a dataSource defined as:
You could change the dataSource url and requery with the following:
This will also update the grid.
Let me know if you would like for me to post a sample application in either ASP.NET MVC ASPX / Razor or Python Django.