contextMenu.groups.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" }
],
groupable: true,
contextMenu: {
groups: [
{
text: "Export Group",
command: "ExportGroupCommand"
}
]
}
});
</script>
In this article