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

Binding to widgets defined in Javascript rather than declaratively.

1 Answer 34 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 21 Nov 2013, 02:05 PM
Is it possible for a javascript Kendo widget to observe MVVM models, or can only those widgets declaratively defined in HTML participate? The reason I'm asking is that sometimes it's preferable for me to be able to define widgets in a page, but sometimes I'd like to keep them in as javascript functions.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 25 Nov 2013, 09:35 AM
Hi Jason,

I am afraid that the scenario you describe is not supported currently. There is no way for the jQuery plugin instantiation to associate widget configuration options with observable object properties. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
MVVM
Asked by
Jason
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or