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.
01.
$(
'#grid'
).kendoGrid({
02.
columns: [
03.
{
04.
field:
"ClientName"
,
05.
title:
"ClientName"
06.
07.
}],
08.
dataSource: {
09.
type:
'json'
,
10.
serverPaging:
true
,
11.
schema: {
12.
data:
'd'
13.
},
14.
transport: {
15.
read:
function
(options) {
16.
$.ajax({
17.
type:
'POST'
,
18.
url:
'Service/GetGridInformation'
,
19.
dataType:
'json'
,
20.
data:
''
,
21.
contentType:
'application/json; charset=utf-8'
,
22.
serverPaging:
true
,
23.
success:
function
(msg) {
24.
options.success(msg.d);
25.
}
26.
});
27.
}
28.
29.
}
30.
},
31.
height: 200,
32.
pageSize: 10
33.
34.
35.
});