jQWidgets Forums
jQuery UI Widgets › Forums › Lists › ComboBox › Knockout + ComboBox with Checkbox- Set the Default values › Reply To: Knockout + ComboBox with Checkbox- Set the Default values
THe problem here is the data loads in a asynchronocus manner. So i want some event to identify that the loading has completed after which i can set the default items. I though i can try using the ‘bindingComplete’ event. But i could not figure out how to use this one in Knockout binding..? Could you pleasse provide the syntax.
I tried mentioning like <div id="list" data-bind="jqxComboBox: {source: SelectableItems, valueMember: 'Code', displayMember: 'Name', selectedIndex: SelectedItemIndex, bindingComplete : bindingcompletemethod}
and i have the corresponding bindingcompletemethod written in Viewmodel. but this never fires…
Could you please help???????