Multiple Kendo window

2 posts, 0 answers
  1. Hariharan
    Hariharan avatar
    2 posts
    Member since:
    Dec 2013

    Posted 15 Oct 2015 Link to this post

    I am trying to create a directive to be added on multiple elements. The directive template has something liek this

    <​ul context menu k-filter='.hascontext'> <li ng-click="xxx.open()"></li></ul>

    <div kendo-window="xxx"></div> 

    Is there way to assign the name of kendo window dynamically also dynamic k-filter for context menu? currently, I can see multiple context menu un-ordered list for context menu and kendo-window with same name and filter, so first one always reacts for any element right click.

    I tried binding scope variables then it ignores ​it so nothing happens. 

    I might be doing something messy, please help! 

     

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 20 Oct 2015 Link to this post

    Hello Hariharan,

     

    Currently there is no way to assign dynamic names to the Kendo UI Directives, however you can create your own custom directives where you can implement such logic. However we do not have such example currently available.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top