Categories | Question details Back To List | ||||||||
Height of combo list Hi! I have 2 combobox and wanna change either of them of height. I examined this in Firefox with Firebug and realised that there are 2 dhx_combo_list after body so i cant change css. Regads, MiB Answer posted by Support team on Apr 29, 2008 09:41 You can access list of options and change its height as combo.DOMlist.style.height="NNpx"; Answer posted by MiB on Apr 29, 2008 11:52 Tanks Answer posted by MiB on Apr 29, 2008 12:30 And how can i change display to none, i tryed this -> DOMlist.style.display = "none"; but nothing happened Answer posted by Support on Apr 30, 2008 02:31 The code of component use style.display as well for hiding|showing list of options, so any code in combo which trigger combo opening will restore normal display style. Answer posted by MiB on Apr 30, 2008 05:34 I set height to null(DOMlist.style.height = "0";) but there is a black line what i wanna remove. Thats why I wanted to set display to none. I attached a picture where u can see that! Attachments (1)
Answer posted by Support on Apr 30, 2008 05:47 The black line is a border around the container. You can try to use combo.DOMlist.style.visibility="hidden"; |