Templates

The ContextMenu enables you to customize its content, items, and the content of its items by using templates.

Content Template

To set a template for the content of the ContextMenu popup, add an <ng-template> tag with the kendoContextMenuTemplate directive inside the ContextMenu component.

When you implement custom content, the options that are related to the Menu, such as items, will not be applied.

Example
View Source
Edit In Stackblitz  
Change Theme:

Item Templates

The ContextMenu supports the same item templates which are supported by the Menu component.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?