Bug: Window appendTo option doesn't work when set via data-append-to (mvvm)

2 posts, 0 answers
  1. Dennis
    Dennis avatar
    19 posts
    Member since:
    Mar 2011

    Posted 02 Dec 2013 Link to this post

    <div data-role="window" data-append-to="#my-form" data-modal="true" data-visible="false" data-width="100%"></div>
    The above code will not append the window to the my-form element. This can be fixed in the source by setting a default value for the appendTo option of the window, or in the user's own code using the below line (be sure to set this before binding your model):
    kendo.ui.Window.fn.options.appendTo = null;
    This was tested in v2013.3.1119
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 04 Dec 2013 Link to this post

    Hi Dennis,

    Thank you very much for bringing this to our attention.

    It is already fixed in the Kendo UI Window code, and the fix will be available with the next internal build.

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