Kendo window with angular ng-repeat problem

2 posts, 0 answers
  1. Dmitry
    Dmitry avatar
    1 posts
    Member since:
    Jul 2015

    Posted 22 Jul 2015 Link to this post


     I'm trying to implement dynamic windows using angular + kendo window by pointing ng-repeat to the collection of urls (here is the full sample:

    <div kendo-window="win" k-title="'AJAX content'" ng-repeat="form in forms track by $index"
                k-width="600" k-height="200" k-visible="true"
                k-content="{ url: form }"

    Everything works ok during initialization. But when new item is added to the forms collection in runtime, new window is being opened ok, but the existing windows become corrupted - they lose their content, please see the dojo link.

    So the question is - is it possible to get it working somehow and is it a bug or I'm doing something wrong?

  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 24 Jul 2015 Link to this post

    Hi Dmitry,

    Initializing Kendo Window widgets with ng-repeat is not supported. It isn't possible to fix this - the widgets build their own DOM on initialization and that doesn't necessarily match the original HTML which ng-repeat will generate.

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