How to rename a dataset/datasource

Stimulsoft Reports.JS discussion
Post Reply
Posts: 25
Joined: Fri Jul 17, 2020 2:19 pm

How to rename a dataset/datasource

Post by nickdavies07 » 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.

Code: Select all

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

dataSet.readJson(response), "", dataSet)
Stimulsoft-Datasets.PNG (27.94 KiB) Viewed 269 times
Lech Kulikowski
Posts: 3225
Joined: Tue Mar 20, 2018 5:34 am

Re: How to rename a dataset/datasource

Post by Lech Kulikowski » Wed Jul 29, 2020 3:08 pm


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

Thank you.
Annotation 2020-07-29 170745.png
Annotation 2020-07-29 170745.png (108.28 KiB) Viewed 236 times
Post Reply