I will take a closer look at that sample, but I am looking to have the combobox be populated without external buttons more like this example:
http://www.jeasyui.com/demo/main/index.php?plugin=ComboBox&theme=default&dir=ltr&pitem=ComboBox%20ActionsUser should be able to select the dropdown and pick an item from the list to be placed in the combobox. I thought perhaps I need to specify onSelect event as shown below. But the online examples seem to work without specifying the onSelect event.
<head>
<meta charset="UTF-8">
<link href="~/Content/jeasyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
<link href="~/Content/jeasyui/icon.css" rel="stylesheet" type="text/css"/>
<link href="~/Content/myStyle.css" rel="stylesheet" type="text/css"/>
<script src="~/Scripts/jeasyui/jquery.min.js"></script>
<script src="~/Scripts/jeasyui/jquery.easyui.min.js"></script>
</head>
<table>
<tr class="btmPadRow">
<td>Id:</td>
<td>
<input class="easyui-combobox"
name="id"
data-options="url: '/api/labapi/patients',
method: 'get',
valueField: 'Value',
textField: 'Display',
onSelect: function(record){
if (record){
$('#id').combobox('setValue',record);
}
}"
style="width:100%;height:24px">
</td>
</tr>
</table>