I have to bind the Result of a web API(post) call to a kendo grid. The result format is
{
"Id": 121,
"referenceId": 18222,
"status": null,
"message": "Completed"
}
API call is :
read: {
url: //url,
type: "POST",
contentType: "application/json; charset=utf-8",
dataType: "json",
},
parameterMap: function () {
return JSON.stringify({ Active: false });
}
},
schema: {
data:'data'
}
Bind :
$("#grid").kendoGrid({
dataSource: dataSource
columns: [{
field: "Id",
title: "Id"
}]
});
But its not working. :(