jQuery UI Widgets Forums Lists ComboBox Autocomplete image

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Autocomplete image #19134

    katiabaer
    Member

    with JqueryUI autocomplete I have this css, that adds an image into input box, while loading data.
    .ui-autocomplete-loading {
    background: url(‘Images/loading.gif’) no-repeat right center;

    }

    How do I do that with jqxComboBox?
    Also I have to set $(“#txtBox”).jqxComboBox({ disabled: true });
    so that the search is not fired again, which some times it does, because of the the server delay.
    I enable it on loadComplete, when setting the source of the comboBox
    loadComplete: function () {
    // get data records.
    var records = dataAdapter.records;
    $(“#txtBox”).jqxComboBox({ disabled: false });
    $(“#txtBox”).jqxComboBox({ source: records });
    }

    Please advise at your earliest convenience.
    Thanks.
    Kate.

    Autocomplete image #19197

    Dimitar
    Participant

    Hello Kate,

    Please apply your loading image CSS to the jqx-combobox-input class, i.e.:

    .jqx-combobox-input {
    background: url(‘Images/loading.gif’) no-repeat right center;
    }

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.