Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Combining Knockout.js + KendoUI - What has been your experience?

So I see that KendoUI has included an example of integration with Knockout.js: http://demos.kendoui.com/web/integration/index.html

However, this looks like a pretty trivial example.

According to this post, it looks like binding to something like Kendo's grid would be much more involved: http://www.kendoui.com/forums/ui/grid/knockoutjs-example-for-grid.aspx

It also looks as if they are creating their own MVVM implementation to try and solve the issues.

Has anyone here used KendoUI and Knockout.js for non-trivial apps using some of the more complex components?

like image 973
PhillipKregg Avatar asked Jan 11 '12 17:01

PhillipKregg


1 Answers

I've been doing a lot of research into integrating KO and Kendo. I have the utmost respect for the folks at Telerik and they make great products. I expect great things from Kendo. At this time, integrating KO and Kendo is not straightforward. For example, their KO example on the Kendo web site itself has a bug in it. Where is this heading? The Kendo team is considering some options on how to integrate better with KO ... what I "think" they key would be is to hook into KO's subscriptions so Kendo can be notified when changes occur. One way to do this is for Kendo to create KO binding handlers for their control suite. In fact, this does work, but its obviously something they have to put time to dev, test, and support . So I don;t know if they will or wont do that.

I'm happy to elaborate on the integration issues, but I dont want to go down a rabbit hole if you dont want to :)

Kendo is working on some ideas for an MVVM solution of their own. The idea would be to have an MVVM solution that works with Kendo or any other javascript library. I look forward to seeing what they come up with.

The net result is for now, i am not trying to integrate the 2 suites personally. I've chimed in with my 2 cents to Kendo to ask them to support KO integration. I encourage you to do so too :)

I hope this helps.

like image 147
John Papa Avatar answered Oct 02 '22 02:10

John Papa