Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How can i use DataInspector for showing data from JSON Array?

$
0
0

@kishangajjar wrote:

I have some additional JSON Data Array associated with every node.
So my node data is like this:
{
"key": 1,
"Name": "Node 1",
"color":"black",
"location":"12.02 13.05",
"OtherBackendData": [
{
"Name": "Record1",
"Id": 1
},
{
"Name": "Record2",
"Id": 2
},
{
"Name": "Record3",
"Id": 3
}
],
"OtherFrontendData":[
{
"Name": "FrontendRecord1",
"Id": 1
},
{
"Name": "FrontendRecord2",
"Id": 2
},
{
"Name": "FrontendRecord3",
"Id": 3
}
]
}v{
"key": 1,
"Name": "Node 1",
"color":"black",
"location":"12.02 13.05",
"OtherBackendData": [
{
"Name": "Record1",
"Id": 1
},
{
"Name": "Record2",
"Id": 2
},
{
"Name": "Record3",
"Id": 3
}
],
"OtherFrontendData":[
{
"Name": "FrontendRecord1",
"Id": 1
},
{
"Name": "FrontendRecord2",
"Id": 2
},
{
"Name": "FrontendRecord3",
"Id": 3
}
]
}

I want to display both array data along with other basic properties of key, name and location.

How can i do that ?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles