easyui combobox 高度自适应属性设置

editor:{
   type:'combobox',
   options:{
      valueField:'piao_qingk',
      textField:'name',
      panelHeight:"auto",
      data:products,

      //required:true
   }
}

在标签里设置

panelHeight="auto",

 对下拉列表框高度的设置可采用以下的代码,其中的auto可以更改为其它的数值
 <input id="comboDirection" class="easyui-combobox" name="Direction" data-options="editable:false,panelHeight:'auto'" /> 

你可能感兴趣的:(easyui combobox 高度自适应属性设置)