jQWidgets Forums

jQuery UI Widgets Forums Grid ComboBox with Source issue

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • ComboBox with Source issue #81692

    Salim Hamza
    Participant

    Howdy,

    initeditor: function (row, cellvalue, editor, celltext, cellwidth, cellheight) {
                        editor.jqxComboBox({autoDropDownHeight: true, source: versionList, dropDownWidth: 230});
                        editor.jqxComboBox('open');
                    },
    validation: function (cell, value) {
                        return !(versionList.indexOf(value) < 0 && value != "");
                    },
    

    I am using a combobox with a source and a validation so the user can only input what’s on the versionList.
    The issue is; when the cellbeginedit fires (double click), it clears the value of the cell. When I take off the source parameter there is no issue.
    Is there a short way to solve this.

    Also, is it possible to block the text input from appearing to force the users to choose from the list?

    Best Regards
    -Salim

    ComboBox with Source issue #81709

    ivailo
    Participant

    Hi Salim Hamza,

    In your case probably is better to use dropDownList with filterable: true instead comboBox.

    Best Regards,
    Ivailo Ivanov

    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.