Hi There, I am new to Telerik but would like to get this working. I have a JSON URL and i am trying to drill down and show all the results of the child nodes under each entry section. THough i cant seem to get this schema defined correctly. If i want to show fields from the lowest node in xml/json how do i define it. The child node examples dont make it clear. Below url is test data so feel free to use.
Thanks
Brandon
<!DOCTYPE html>
<
html
>
<
head
>
<
style
>html { font-size: 12px; font-family: Arial, Helvetica, sans-serif; }</
style
>
<
title
></
title
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2015.1.429/styles/kendo.common-material.min.css"
/>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2015.1.429/styles/kendo.material.min.css"
/>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2015.1.429/styles/kendo.dataviz.min.css"
/>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2015.1.429/styles/kendo.dataviz.material.min.css"
/>
<
script
src
=
"http://cdn.kendostatic.com/2015.1.429/js/jquery.min.js"
></
script
>
<
script
src
=
"http://cdn.kendostatic.com/2015.1.429/js/kendo.all.min.js"
></
script
>
</
head
>
<
body
>
<
div
id
=
"example"
>
<
div
id
=
"grid"
></
div
>
<
script
>
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
type: "odata",
transport: {
},
schema: {
model: {
fields: {
title: {type: "string" },
title: { type: "string" }
}
}
},
pageSize: 20,
serverPaging: true,
serverFiltering: true,
serverSorting: true
},
height: 550,
filterable: true,
sortable: true,
pageable: true,
columns: [{
field:"totalRsults",
filterable: false
}
]
});
});
</
script
>
</
div
>
</
body
>
</
html
>