I am working with a kendo grid with some drop downs but I am running into issues with how the data is send back to the server.
I do not want to provide default settings for the combo boxes but if I don't I only get the id rather than the full object sent back to the server. With my datasource below I correctly get no default set however I am only given by the id - not the full object. Can I define the data structure of Site and Role within the schema without setting a default value?
I do not want to provide default settings for the combo boxes but if I don't I only get the id rather than the full object sent back to the server. With my datasource below I correctly get no default set however I am only given by the id - not the full object. Can I define the data structure of Site and Role within the schema without setting a default value?
new kendo.data.DataSource({ transport: { read: { url: "json/users/getXForUser/" + userID, dataType: "json" }, create: { url: "json/users/createUpdateX/" + userID, type: "POST" }, schema: { model: { id: "ID", fields: { Site: { }, // this is a combobox result and I want the object back with ID and Name Role: { } // this is a combobox result and I want the object back with ID and Name } } } });