Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 27, 2009 11:17
open dhtmlx forum
Combo size if less items

How to change combo height if I have less items there?
Answer posted by Support on Jan 28, 2009 02:16
default height defined through css
.dhx_combo_list{
  position:absolute;
  z-index:230;
  overflow-y:auto;
  overflow-x:hidden;
  border:1px solid black;
  height:100px; //< here it is

You can change it there, or include dhtmlxcombo_whp.js and use
          combo.enableOptionAutoHeight(true)