contextMenu.head.commandString
Specifies the command of the item.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "productName" },
{ field: "category" },
{ field: "unitPrice" }
],
dataSource: [
{ productName: "Tea", category: "Beverages", unitPrice: 2.5 },
{ productName: "Coffee", category: "Beverages", unitPrice: 3.0 }
],
editable: "inline",
contextMenu: {
head: [
{
name: "editrow",
text: "Edit Row",
command: "edit"
}
]
}
});
</script>
In this article