combo: combine loadXML and enableFilteringMode

Hi,

is it possible to combine

combo_hosts.enableFilteringMode(true,"complete.xml.php",true, true);

with

combo_hosts.loadXML("hosts.xml.php");

?

If I tried the following, the initial list-values wasn’t loaded, so it seemed that the loadXML did not work.

That’s the complet snipped:

<script>
		    
window.dhx_globalImgPath="./lib/dhtmlx/dhtmlxCombo/codebase/imgs/";
			
var combo_hosts=new dhtmlXCombo("existing_hosts","hosts",200);
  combo_hosts.enableFilteringMode(true,"complete.xml.php",true, true);
  combo_hosts.loadXML("hosts.xml.php");
  combo_hosts.readonly(0);
			        
</script>

Could you provide us completed demo?
docs.dhtmlx.com/doku.php?id=othe … leted_demo