I created a data source as follow and am trying to show the data in a window. However, this error pops up : "ISC_Core.js:2051 POST PathToFile/SmartClient/SmartClient_v121p_2020-11-10_Pro/smartclientSDK/isomorphic/IDACall?isc_rpc=1&isc_v=v12.1p_2020-11-10&isc_xhr=1 net::ERR_FILE_NOT_FOUND"
//To Creating data source
isc.DataSource.create({
id:"tagDataSource",
fields:[
{name:"A"},
{name:"B"},
{name:...},
...
],
data: cData
});
//To Showing data
isc.Window.create({
title: "View Tag",
items: [
{title: "Tag List",
items: [
isc.ListGrid.create({
ID: "TagList",
dataSource: tagDataSource,
fields:[
{name:"A"},
{name:"B"},
{name:"..."},
...
],
})
]
});
But when I replace the "dataSource: tagDataSource" by "data: cData" directly, it works.
so. any idea how I should use the created data source properly?
MANY THANKS !!
//To Creating data source
isc.DataSource.create({
id:"tagDataSource",
fields:[
{name:"A"},
{name:"B"},
{name:...},
...
],
data: cData
});
//To Showing data
isc.Window.create({
title: "View Tag",
items: [
{title: "Tag List",
items: [
isc.ListGrid.create({
ID: "TagList",
dataSource: tagDataSource,
fields:[
{name:"A"},
{name:"B"},
{name:"..."},
...
],
})
]
});
But when I replace the "dataSource: tagDataSource" by "data: cData" directly, it works.
so. any idea how I should use the created data source properly?
MANY THANKS !!
Comment