easyUi combobox 设置其下拉框的高度
$(‘#cc’).combobox({
url:’combobox_data.json’,
valueField:’id’,
textField:’text’,
listHeight: 你的高度
});
实验了下,在JS里写没什么作用, 需要在标签里 加一条属性 panelHeight=”你的高度” 例子:
<input class="easyui-combobox" id="dd"
name="language"
url="combobox_data.json"
valueField="id"
textField="text"
multiple="true"
panelHeight="300"/>