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

Knockout Custom Binding for DatePicker

0 Answers 292 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Corey Gaudin
Top achievements
Rank 2
Corey Gaudin asked on 07 Dec 2011, 09:22 PM
Kendo UI Enthusiast,

I created a Kendo UI Knockout Custom binding that utilize the some of the Kendo UI Widgets.

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.

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
Date/Time Pickers
Asked by
Corey Gaudin
Top achievements
Rank 2
Share this question
or