Not resizable window as default

2 posts, 1 answers
  1. Jakub
    Jakub avatar
    24 posts
    Member since:
    Jun 2015

    Posted 25 Jan Link to this post

    Hello,

    Iam trying to make directive that makes each kendoWindow not resizable. I encountered problem that when I set resizable to false in directive, then after widget has been created $element.data("kendoWindow") is undefined.

    How can I achieve this ?

     

    Example:

    http://dojo.telerik.com/aTEHI

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 27 Jan Link to this post

    Hello Jakub,

    Attribute values should be strings.

    $attrs.kResizable = "false";

    Generally, when Kendo UI widgets receive a non-existent setting, they wait for this setting (scope variable) to be populated and only then they initialize. Currently the kendoRendered event is fired after the first Window and Calendar are created.

    http://docs.telerik.com/kendo-ui/AngularJS/introduction#known-limitations

    Regards,
    Dimo
    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