select event of context menu

2 posts, 0 answers
  1. genericuser
    genericuser avatar
    3 posts
    Member since:
    May 2009

    Posted 24 May Link to this post


    I am using Aurelia with Kendo UI. I tried the context menu. I am having problems in calling a function from the select. It is unable to locate that method.

    orientation: orientation,                
    target: "#listview-context-menu",                
    filter: ".product",                
    animation: {                    
        open: { effects: "fadeIn" },                    
        duration: 500},                
    select: function (e) {
       this.doAction(); // this function is not being recognized. 


    Can you please help?

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2122 posts

    Posted 26 May Link to this post


    I am unable to reproduce the mentioned behavior on our demos page. The select event is fired as expected. Keep in mind that the this reference will point to the widget itself when used inside event handlers.

    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top