We want to use JS designer.
We have some REST api which provides us data in JSON format.
Let's say we have this code:
Code: Select all
// Input data
var INPUT_DATA = {
"Categories" : [
{
"CategoryID" : 1,
"CategoryName" : "Beverages",
"Description" : "Soft drinks, coffees, teas, beers, and ales",
}
]
};
// loading data
const dataSet = new Stimulsoft.System.Data.DataSet();
dataSet.readJson(INPUT_DATA);
If not how to set the column alias in Stimulsoft.System.Data.DataSet data structure?