Hi All,
I have a js variable JSON_DATA that contains the return result from a .py api. It has a schema 'xyz' and 5 columns (a,b,c,d,e). I've tried to setup the the schema and datasource several different ways and I can't seem to get it to bind the data. Can someone shed some light on this for me? See below:
This is where I'm at now, I removed schema to see if I could get something back but I'm stuck:
\$(document).ready(function() {
\$("#grid").kendoGrid({
dataSource: {
data: $JSON_DATA },
height: 550,
scrollable: true,
sortable: true,
filterable: true,
pageable: {
input: true,
numeric: false
},
columns: [
{ field: 'productType', title: 'CSS-WX Product Type', width: '230px'},
{ field: 'serviceType', title: 'Web Service Type', width: '100px'},
{ field: 'average', title: 'Average', width: '130px' },
{ field: 'target', title: 'Target', width: '130px' },
{ field: 'iterations', title: 'Iterations', width: '130px' }
]
});
});