After breaking my head for a whole day
Here is the code that is working well. I hope that you find it useful
Sorry for my English.
Here is the code that is working well. I hope that you find it useful
Sorry for my English.
$(
"#grid"
).kendoGrid({
dataSource: {
type:
"json"
,
transport: {
read: {
dataType:
"json"
,
type:
"POST"
},
parameterMap:
function
(options) {
return
JSON.stringify({
"serviceName"
:
"ActoresPublicoService"
,
"methodName"
:
"getPaises"
,
"parameters"
: []});
}
},
schema: {
model: {
fields: {
title: { type:
"string"
}
}
}
}
},
height: 250,
filterable:
true
,
sortable:
true
,
pageable:
true
,
});