jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Can't set preselected values Can't set preselected values #48329

    Maksv
    Participant

    Hi Peter,
    thank you for replies.
    Yeahp, it works fine.

    in reply to: Can't set preselected values Can't set preselected values #48323

    Maksv
    Participant

    Hi Peter,
    actually I have tried to set the value in loadComplete callback function and it works right if I have only one combobox.
    If I have two or more comboboxes than loadComplete function fires only after the last created combobox.
    The same situation with “bindingComplete” event handler.
    May be I should have different dataAdapters for each combobox?

    ....
    $(comboBoxTag).jqxComboBox({source : dataAdapter,
    	displayMember : "name",
    	valueMember : "id",
    	width : 200,
    	height : 20,
    	autoDropDownHeight : true
    	});
    $(comboBoxTag).on("bindingComplete", function (event) {
    $(comboBoxTag).jqxComboBox('val',value);	}); 
    ...
Viewing 2 posts - 1 through 2 (of 2 total)