I am using this code to bind data to Grid but my grid is empty. I can see the json data from the url
<body>
<div id="grid">
<script >
$(document).ready(function () {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: "http://localhost:64878/api/GetData",
dataType: "jsonp",
type: "GET"
}
},
schema: {
model: {
fields: {
AIDAParentName: { type: "string" },
AIDAChildNames: { type: "string" },
PortfolioName: { type: "string" },
Class: { type: "string" }
}
}
}
},
height: 500,
scrollable: true,
selectable: true,
columns: [{
field: "AIDAParentName",
filterable: false
},
{
field: "AIDAChildNames"
}, {
field: "PortfolioName"
}, {
field: "Class"
}
]
});
});
</script>
</div>
</body>