My Kendo Grid is not displaying any of the data. I am trying to pull down JSON from a web method in an aspx page. I keep getting the never ending spinner. I am new to using these controls and am banging my head against my desk for a day now.
$('#grid').kendoGrid({
columns: [
{
field: "ClientName",
title: "ClientName"
}],
dataSource: {
type: 'json',
serverPaging: true,
schema: {
data: 'd'
},
transport: {
read: function (options) {
$.ajax({
type: 'POST',
url: 'ServiceMonitoring.aspx/GetGridInformation',
dataType: 'json',
data: '',
contentType: 'application/json; charset=utf-8',
serverPaging: true,
success: function (msg) {
options.success(msg.d);
}
});
}
}
},
height: 200,
pageSize: 10
});
$('#grid').kendoGrid({
columns: [
{
field: "ClientName",
title: "ClientName"
}],
dataSource: {
type: 'json',
serverPaging: true,
schema: {
data: 'd'
},
transport: {
read: function (options) {
$.ajax({
type: 'POST',
url: 'ServiceMonitoring.aspx/GetGridInformation',
dataType: 'json',
data: '',
contentType: 'application/json; charset=utf-8',
serverPaging: true,
success: function (msg) {
options.success(msg.d);
}
});
}
}
},
height: 200,
pageSize: 10
});