Pregunta

<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.

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top