I have a kendo grid defined as below:
$(
"#myGrid"
).kendoGrid({
dataSource: {
read: {
url:
"/getData"
,
dataType:
"json"
},
schema: {
model: {
id:
"myId"
,
fields: {
myId: {},
field1: {},
field2: {},
}
}
}
},
columns: [{
field:
"field1"
,
title:
"Field 1"
}, {
field:
"field2"
,
title:
"Field 2"
}]
});
But on loading the page, no data read request is fired. Please advise what I did wrong here?
Thanks,