Reputation: 239
<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.
Upvotes: 2
Views: 2391
Reputation: 813
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
Upvotes: 2