This is a migrated thread and some comments may be shown as answers.

Multiple Kendo window

1 Answer 133 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hariharan
Top achievements
Rank 1
Hariharan asked on 15 Oct 2015, 09:02 PM

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! 

 

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 20 Oct 2015, 08:04 AM

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!
 
Tags
Window
Asked by
Hariharan
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or