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

Knockout Custom Binding for ComboBox Example

0 Answers 197 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Corey Gaudin
Top achievements
Rank 2
Corey Gaudin asked on 05 Dec 2011, 11:31 PM
Kendo UI Enthusiast,

I created a Kendo UI Knockout Custom binding that utilize the Kendo ComboBox: Custom Kendo ComboBox Binding (jsFiddle) 

As you can see it works well, binds the datasource to the kendo combobox, respects the observable array changes, ignores invalid changes, and sets the observable selected item back and forth.

I basically took my jquery autocomplete version and changed it to work with ComboBox.  Here is the dropdown knockout custom binding version.  

Here is the Date Picker Custom Knockout Binding, this allows you to bind to a Date object in your viewModel without having to worry about converting to and from a string and respects the observable property from the ViewModel.

Hopefully we can convince Telerik Devs to create a custom knockout binding version for all the Kendo UI Controls. This would make using kendo ui controls with knockout trivial and extremely simple.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Corey Gaudin
Top achievements
Rank 2
Share this question
or