Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Senthil on Aug 03, 2009 03:19
open dhtmlx forum
Loading alert

Hi,
How to give loading alert message after selecting the combo(10000 data its take some time for loading).

Thanks
Senthil
Answer posted by Alex (support) on Aug 03, 2009 05:55

Hello, 

the second parameter of the loadXML method is function that will be called after xml loading:

combo.loadXML("some.xml",afterLoading);

function afterLoading(){

...

}

But 1000-option combo is too big to loaded in at once. You can use dynamic loading (autocomplete) - http://dhtmlx.com/docs/products/dhtmlxCombo/doc/guide.html#combo_filtering.

The sample is dhtmlxCombo/samples/filtering/combo_filter.html  (  http://dhtmlx.com/docs/products/dhtmlxCombo/samples/filtering/combo_filter.html )