Hello,
So I have a json file that looks something like this:
And data source created form this file
I'm displaying the Id of the arrays on listview A in my application. What I want to do is display a person's name in listview B depending on what Id was selected on listview A.
I've tried several different approaches including trying to create a datasource from the nested "people" array in the json file but have not been successful so far. Can anyone suggest a good method for accomplishing this?
**Edit: I apologize for posting this under the Datasource section instead of the Listview one. If a admin would like to move this post I'd be grateful.
So I have a json file that looks something like this:
[{ "Id": "1", "People": [{ "Person": { "Name": "Jon" }, "Job": "IT Guy" }]},{ "Id": "2", "People": [{ "Person": { "Name": "Kate" }, "Job": "Web Developer" }]}]And data source created form this file
var dataSource = new kendo.data.DataSource({ transport: { read: { url: url, type: "GET", dataType: "jsonp", contentType: "application/json; charset=utf-8" } }});I'm displaying the Id of the arrays on listview A in my application. What I want to do is display a person's name in listview B depending on what Id was selected on listview A.
I've tried several different approaches including trying to create a datasource from the nested "people" array in the json file but have not been successful so far. Can anyone suggest a good method for accomplishing this?
**Edit: I apologize for posting this under the Datasource section instead of the Listview one. If a admin would like to move this post I'd be grateful.