Search code examples
mvvmknockout.jskendo-uiknockout-mvcknockout-kendo

Kendo knockout dropdownlist change Event not firing


<input data-bind="kendoDropDownList: { data:$root.brands,
                                       value: BrandID,
                                       dataTextField: 'Name',
                                       dataValueField: 'BrandID'},
                 event: { change: $root.saveItem }" />

Does anyone know why wouldn't the change event fire if this is inside a kendo window??

I am using knockout-kendo.js.


Solution

  • For Change Event Firing

    <input data-bind="kendoDropDownList:{ data            :$root.brands,
                                          value           :BrandID,
                                          dataTextField   :'Name',
                                          dataValueField  :'BrandID',
                                          change          :$root.saveItem}"/>
    

    Here is sample of change event firing