contextMenu.body.items.iconString

Specifies the icon 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: "Tools",
        items: [
          {
            text: "Edit",
            icon: "edit",
            command: "EditCommand"
          }
        ]
      }
    ]
  }
});
</script>
In this article
contextMenu.body.items.icon
Not finding the help you need?
Contact Support