Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1355
Set readonly for igCombo at runtime
posted

Hello

I have an combobox. it is work fine on 14.2 version with the mode readonly property that is set by javascript at runtime

But after I upgrate to 15.2 version. it is not working

I read on infragistics api help 15.2 and i can't see the set mode for combo at runtime by javascipt. I only see setter at initialize and getter function

How can i set mode by readonly value for igCombo at runtime?

Thanks you very much!

Parents
No Data
Reply
  • 15320
    Verified Answer
    Offline posted

    Hello Cuong,

    Indeed since v15.2 the combo mode cannot be set at runtime. As a workaround I could suggest you to set attribute "disabled" to the input element that instantiates the combo and cancel dropDownOpening  event, so that the combo dropdown to be disabled as well. Attached is a sample for your reference. If you need further assistance, please let me know.

    Regards,

    Tsanna

    setReadOnlyRuntime.zip
Children
No Data