Connect to a dataset with javascript

Yes, for example I want to have only one table object on the page connected to a dataset then, under certain conditions, connected to another dataset. Why are you surprised? :grinning: