How to rename a dataset/datasource
Posted: Tue Jul 28, 2020 2:06 pm
I am using the latest Stimulsoft JS package on a web application we are currently deploying to generate bespoke reports for clients.
I have two datasources set up, how can I rename the tables within them? By default, they are 'root'.
The code I am currently using to generate the datasets in Vue.
I have two datasources set up, how can I rename the tables within them? By default, they are 'root'.
The code I am currently using to generate the datasets in Vue.
Code: Select all
let dataSet = new Stimulsoft.System.Data.DataSet(this.instance_name);
dataSet.readJson(response)
this.report.regData(dataSet.dataSetName, "", dataSet)