jQuery ComboBox

Set the itemHeight property of the jqxComboBox. Author: http://jqwidgets.com

by txhi

HTML

<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<button id="click">click</button>
<br><br><div id='jqxComboBox'></div>

JavaScript

var source = [
  "Affogato",
  "Americano",
  "Bicerin",
  "Breve",
  "Café Bombón",
  "Café au lait",
  "Caffé Corretto",
  "Café Crema",
  "Caffé Latte",
  "Affogato",
  "Americano",
  "Bicerin",
  "Breve",
  "Café Bombón",
  "Café au lait",
  "Caffé Corretto",
  "Café Crema",
  "Caffé Latte"
];
// Create a jqxComboBox
$("#jqxComboBox").jqxComboBox({
  source: source,
  width: '200px',
  height: '25px',
  selectedIndex: 0,
  theme: 'energyblue',
  itemHeight:25
});

$('#click').jqxButton();
$('#click').click(() => {
  var newSourve = [
    "Affogato 2",
    "Americano 2",
    "Bicerin 2",
    "Breve 2"
  ];  
  $("#jqxComboBox").jqxComboBox({ source: newSourve });
});