$(
"#grid"
).kendoGrid({
dataSource: {
type:
"json"
,
transport: {
read:
"http://localhost:8888/mysite/xml/sample.json"
},
schema: {
model: {
fields: {
id: { type:
"number"
},
data: { type:
"json"
}
}
}
},
pageSize: 5
},
height: 250,
pageable:
true
,
columns: [{
field:
"id"
,
title:
"Record ID"
,
filterable:
false
},
{
field:
"data"
,
title:
"Data String"
}
],
});
and I have json data in this format:
[
{
"id"
:0,
"data"
:[
{
"source"
:
"Lotus Domino XML Mail"
,
"title"
:
"Mr SYDPER"
,
"path"
:
"/NSF//Marketing/Travel Itininery"
}
]
},
{
"id"
:1,
"data"
:[
{
"source"
:
"Lotus Domino XML Mail"
,
"title"
:
"Re: CMI statement for"
,
"path"
:
"/Marketing/Mark"
}
]
}
]
How do I have my data column display the data in the grid?
Thanks