Welcome Guest. Sign in or Signup

0 Comments

How to bind a KO view model data with a datepicker widget?

Asked by: 3132 views 2. KnockOut (KO)

+1
0

Binding a KO View model data to a DOM object is very simple and you can do that declaratively. However, to bind to a jquery UI widget, you will have to setup a custom binding and manually transfer data from widget to model data and vice versa on changes. Here is an example of how this can be done.

DatePicker bound to a KO view model data

Comments on Question