jQuery UI Widgets Forums Lists ComboBox MultiSelect broken

This topic contains 2 replies, has 2 voices, and was last updated by  gertjan@user.nl 9 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • MultiSelect broken #72816

    gertjan@user.nl
    Participant

    The example in the api works, but in my case I can’t select anything anymore if I enable multiSelect. The events are also broken.

    
    var data = '[{"cid":123,"label":"abc"},{"cid":456,"label":"xyz"}]';
    
    var source = {
       localdata: data,
       datatype: "json",
       datafields: [{name: 'cid'}, {name: 'label'}]
    };
    
    var dataSource = new $.jqx.dataAdapter(source);
    
    $("#jqxComboBox").jqxComboBox({ source: dataSource, displayMember: 'label', valueMember: 'cid', multiSelect: 'true'});
    

    You can try it here: http://jsfiddle.net/m56egenh/

    MultiSelect broken #72822

    ivailo
    Participant

    Hi gertjan@user.nl,

    In your case you have to add some settings to your data fields – type and map.

    Here is the working example.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    MultiSelect broken #72826

    gertjan@user.nl
    Participant

    Hi Ivailo,

    Thanks for the solution!

    Regards,
    Gert Jan

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.