Here is my Kendo Grid Code. My first issue is if Click on edit, name field which I make editable: false not working. It is giving textbox.
My second issue is, I want to give dropdown for age. How can I do this ?
$("#grid").kendoGrid({
columns: [
{ field: "id", hidden: true },
{ field: "name", title: "Name" },
{ field: "age", title: "Age" },
{ command: ["edit"] }
],
editable: "inline",
dataSource: [
{ id: "1", name: "Andrew", age: "30" },
{ id: "2", name: "Robert", age: "29" },
{ id: "3", name: "Frank", age: "35" }
],
schema: {
model: {
id: "id",
fields: {
id: { editable: false },
name: { editable: false },
age: { editable: true }
}
}
},
});