Categories | Question details Back To List | ||
disable combobox Hi, please, it is possible to change design of disabled (after disable function) combobox to classic disabled HTML combobox (not only change to read-only mode, but change picture to gray version and font-color to gray). thanks! Ivan Answer posted by Support on Jan 22, 2008 05:26 Existing API doesn't allow it, but you can made next customization dhtmlXCombo.prototype.disable = function(mode){ var z=convertStringToBoolean(mode); if (this._disabled==z) return; this.DOMelem_input.disabled=z; if (mode){ this.DOMelem_input.calssName="disabledCSS"; this.DOMelem_button.src="url_of_gray_image" } this._disabled=z; } |