jQuery UI Widgets Forums Getting Started Problem with jqxComboBox

This topic contains 8 replies, has 3 voices, and was last updated by  Manu Vashishtha 2 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • Problem with jqxComboBox #107700

    Manu Vashishtha
    Participant

    Dear Sir/Ma’am

    I am facing problem with jqxcombobox. When I want to add any different value in jqxcombobox then it is not returning the same value.
    Please check my example:— http://jsfiddle.net/manuvashishtha/ytap6qm7/5/

    I want to add value “bi” but when I am getting value then it is returning me “Bicerin”.
    If searchMode is set to be ‘none’ then the autocomplete panel is not shown. I need both options..
    My client wants to add new values and also want to see already existing matching values.
    Is there any way to do this?

    Thanks & Regards
    Manu Vashishtha
    Software Developer

    Problem with jqxComboBox #107710

    admin
    Keymaster

    Hi Manu,

    You can use the addItem method to add new items to the combobox.

    $("#jqxComboBox").jqxComboBox('addItem', { label: 'Text' value: 'Id'} );

    Regards,
    Peter

    Problem with jqxComboBox #107727

    Manu Vashishtha
    Participant

    Hello Sir,

    This is not a solution of my problem.
    Please check my example: Click here for example

    e.g.:– I am adding “Bre” in the inputbox but when getting value on button click then it is showing “Breve” in the alert.
    bcoz “Breve” is getting selected automatically. I don’t need selected item , I want to get text added in the inputbox.

    I need edit and search both options. Please check.

    Regards
    Manu Vashishtha

    Problem with jqxComboBox #107735

    admin
    Keymaster

    Hi Manu,

    Have you looked at jqxInput? Example: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxinput/defaultfunctionality.htm?light. When you type something for example: “bul”, auto-complete dialog pops up with suggestions such as “Bulgaria”. However, if you click outside of the Input and the Auto-Complete dialog, the value will be “bul”, not “Bulgaria”.

    Regards,
    Peter

    Problem with jqxComboBox #107744

    Manu Vashishtha
    Participant

    Hello Sir,

    Thank you for your response.

    I have checked jqxInput, but this is not meeting my requirement.
    Actually, I need combobox along with autocomplete, I have to show all the items to user before filtration like jqxcombobox.

    Regards
    Manu Vashishtha

    Problem with jqxComboBox #107747

    Peter Stoev
    Keymaster

    Hi Manu

    The combobox cannot handle your case. jqxInput is with more similar behavior. If you have a developer or team license you can customize the combobox code to fit to your requirements. We can also do that as a custom development service

    Regards
    Peter

    Problem with jqxComboBox #107753

    Manu Vashishtha
    Participant

    Hello Sir

    Just want to confirm from your side that the way I want to perform this is :–
    var value=$(‘#jqxComboBox’).find(‘.jqx-combobox-input’).val();

    I am getting value of textbox always, bcoz I need only text from combobox.
    This is a good practice or not, or this can create any problem for me later?

    Thanks & Regards
    Manu Vashishtha

    Problem with jqxComboBox #107762

    admin
    Keymaster

    Hi Manu

    You can get the typed value by the user by using the code you published. This should be OK.

    Regards
    Peter

    Problem with jqxComboBox #107839

    Manu Vashishtha
    Participant

    Okay. Thank you.

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

You must be logged in to reply to this topic.