contextMenu.body.items.commandString

Specifies the command of the item.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  contextMenu: {
    body: [
      {
        text: "Advanced",
        items: [
          {
            text: "Process",
            command: "ProcessCommand"
          }
        ]
      }
    ]
  }
});
</script>
In this article
contextMenu.body.items.command
Not finding the help you need?
Contact Support