Hello all,
i want to reload my dropdown list(filtering and suggest set) after providing some filtering and keep the list open with the results to select from...
The problem is that after setting the datasource with the new values, sometimes the dropdown is closed...
steps:
- open Dropdown
- type in some filter string
- press enter-key
- request new data from server
- set datasource with new values ( ddl.setDataSource(new_datalist) )
Step 5 makes me trouble...
The filtervalue is taken as follows:
var bel = $("#detail-bel").data("kendoDropDownList");
var filterInput = bel.filterInput;
filterInput.keydown(function(e){
if(e.keyCode == 13){
stopEvent(e);
loading new data with this.value as filterstring
}
Any suggestions?
Thank you...