Check documentation for the latest version 6.0 of dhtmlxSuite onDynXLS DHTMLX Docs

onDynXLS

fires when the combo list is being populated with data from the server

void onDynXLS(){ ... };

Example

myCombo.enableFilteringMode(true,"dummy"); 
myCombo.attachEvent("onDynXLS", myComboFilter);
 
function myComboFilter(text){//where 'text' is the text typed by the user in the combo
    myCombo.clearAll();
    dhtmlxAjax.get("data.php?mask="+text, function(xml){
        myCombo.load(xml.xmlDoc.responseText);
    })
}

Details

The event is blockable. Returning false or nothing will block requests to the server

Back to top