I work in Durandal project and enjoy using kendo-ui grid (of Telerik company).
I use create feature also. It sasy that in grid declaretion I have the following code:
transport: {
create: {
url: myUrl,
type: 'POST',
dataType: 'json'
}
},
My grid is dinamic. It says that grid schema and columns are built on run-time. So, the server method need to accept the data by generic object, for example: dataTable. I cannot accept specific type, like: Product/ Pupils/ Car.
What is the correct way to implement my server-side? What does the contoller method have to accept?