contextMenu.selectFunction

Fires when a menu item gets selected. ContextMenu Events.

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 }
  ],
  contextMenu: {
    select: function(e) {
      console.log("Context menu item selected:", e.item.text);
    }
  }
});
</script>
In this article
contextMenu.select
Not finding the help you need?
Contact Support