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

Not resizable window as default

1 Answer 184 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jakub
Top achievements
Rank 1
Jakub asked on 25 Jan 2016, 07:00 PM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 27 Jan 2016, 03:54 PM
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!
Tags
Window
Asked by
Jakub
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or