contextMenu.body.items.nameString

Specifies the name 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: "Actions",
        items: [
          {
            name: "subAction1",
            text: "Sub Action 1",
            command: "SubCommand1"
          }
        ]
      }
    ]
  }
});
</script>
In this article
contextMenu.body.items.name
Not finding the help you need?
Contact Support