contextMenu Object|Boolean
(default: false)
Configures the ContextMenus of the Grid.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
contextMenu: true,
editable: true,
sortable: true,
draggable: true,
reorderable: true,
dataSource: new kendo.data.DataSource({
schema: {
model: {
id: "foo",
fields: {
name: "name",
foo: "foo",
},
},
},
data: [
{ foo: "bar", name: "tom" },
{ foo: "baz", name: "jerry" },
],
}),
});
</script>
Related Properties
- contextMenu.body
- contextMenu.body.name
- contextMenu.body.text
- contextMenu.body.icon
- contextMenu.body.command
- contextMenu.groups
- contextMenu.groups.name
- contextMenu.groups.text
- contextMenu.groups.icon
- contextMenu.groups.command
- contextMenu.head
- contextMenu.head.name
- contextMenu.head.text
- contextMenu.head.icon
- contextMenu.head.command
- contextMenu.close
- contextMenu.open
- contextMenu.activate
- contextMenu.deactivate
- contextMenu.select