jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Drop down not disabled

This topic contains 8 replies, has 2 voices, and was last updated by  Freak 10 years, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • Drop down not disabled #54796

    Freak
    Participant

    Hi,

    In combobox I am selecting a value using selectItem method and after that I am disabling it. It is working fine but when I click on selected item, it shows drop down even though combobox is disabled. Can you give me solution for this?

    Thanks,
    Freak

    Drop down not disabled #54822

    Dimitar
    Participant

    Hello Freak,

    Please provide us with a sample code which reproduces the reported issue and make sure you are using the latest version of jQWidgets (3.2.2).

    Best Regards,
    Dimitar

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

    Drop down not disabled #54843

    Freak
    Participant

    Hi,

    I am using latest version only i.e 3.2.2.
    Below is my code for rendering combobox –

    var _status = new Array(“Available”,”Deleted”,”Registered”);
    $(‘#divStatus’).jqxComboBox({source: _status , selectedIndex: 0, width: ‘250’, height: ’25px’});

    After that I am selecting value and disabling combobox as –

    $(‘#divStatus’).jqxComboBox({‘selectItem’,’Deleted’});
    $(“#divStatus”).jqxComboBox({ disabled: true });

    Still it is showing drop down after clicking selected item.

    Drop down not disabled #54887

    Dimitar
    Participant

    Hi Freak,

    The issue comes from your incorrect call of selectItem. Instead of:

    $(‘#divStatus’).jqxComboBox({‘selectItem’,'Deleted’});

    it should be:

    $('#divStatus').jqxComboBox('selectItem', 'Deleted');

    Best Regards,
    Dimitar

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

    Drop down not disabled #54891

    Freak
    Participant

    Hi,

    I tried with $(‘#divStatus’).jqxComboBox(‘selectItem’, ‘Deleted’);
    But still it is the same. Actually I am getting value from a hidden field and then selecting item as –
    $(‘#divStatus’).jqxComboBox(‘selectItem’, $(‘#hdnStatus’).val());

    Regards,
    Freak

    Drop down not disabled #54901

    Dimitar
    Participant

    Hi Freak,

    Please check out this fiddle: http://jsfiddle.net/Dimitar_jQWidgets/R453A/ and make sure you are using the latest version of jQWidgets (3.2.2).

    Best Regards,
    Dimitar

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

    Drop down not disabled #54902

    Freak
    Participant

    Hi,

    Sorry, I forgot to tell that it is a meltiselect combobox and I am using latest version only.
    In your sample also you can see the drop down if you set multiSelect=true

    Regards,
    Freak

    Drop down not disabled #54909

    Dimitar
    Participant

    Hi Freak,

    Thank you for your feedback. We confirm the reported issue. It will be fixed in the next version of jQWidgets.

    Best Regards,
    Dimitar

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

    Drop down not disabled #54910

    Freak
    Participant

    Hi Dimitar,

    Thank you very much….

    Regards,
    Freak

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

You must be logged in to reply to this topic.