[Fixed] Disable opening context menu in Kendo for Angular


In this StackBlitz, a context menu is opened if the checkbox is true. But if it is false, it should not open. Any ideas how to achieve the latter?

    selector: 'my-app',
    template: `
        <div #target>
        <kendo-contextmenu [target]="target" [items]="items">

        Enable context menu <input type="checkbox" [(ngModel)]="open">
export class AppComponent {
    public items: any[] = items;
    open = true;


There’s no code on the contextmenu telling it not to display. try adding an *ngIf=”open” to it.

Leave a Reply

(*) Required, Your email will not be published