Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jorge Arzuaga on Aug 26, 2008 08:13
open dhtmlx forum
dhtmxCombo

Hi.. my question is the next:

I need load the data from file xml generate from PHP in Autocomplete mode, but i need show all data when press click on combo, as a combo normal, but without loser funcionality "Autocomplete mode"...
my code is:

var ComboObj_'.$name_obj.' = new dhtmlXCombo("ComboObj_'.$name.'","'.$name.'","'.$width.'",true,'.$this->tabIndex.');';
ComboObj_'.$name_obj.'.enableFilteringMode(true,'js/php/complete.php',true,true);    

is generated from php script

Sorry my english....

thanks..!
Answer posted by Support on Aug 26, 2008 09:11
If you need to have all data on client side you can load all options to clietn side and use client side filtering instead of server side. 

var ComboObj_'.$name_obj.' = new dhtmlXCombo("ComboObj_'.$name.'","'.$name.'","'.$width.'",true,'.$this->tabIndex.');'; 
ComboObj_'.$name_obj.'.enableFilteringMode(true);
ComboObj_'.$name_obj.'.;loadXML('js/php/data.php'); //load all possible options
 

Answer posted on Aug 26, 2008 12:27
Thanks..!