Page 1 of 1

How to rename a dataset/datasource

Posted: Tue Jul 28, 2020 2:06 pm
by nickdavies07
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.

Code: Select all

let dataSet = new Stimulsoft.System.Data.DataSet(this.instance_name);

dataSet.readJson(response)
this.report.regData(dataSet.dataSetName, "", dataSet)

Re: How to rename a dataset/datasource

Posted: Wed Jul 29, 2020 3:08 pm
by Lech Kulikowski
Hello,

You can modify it in the dictionary manually or add in the JSON.

Thank you.