Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sirish on Jun 24, 2008 00:28
open dhtmlx forum
dhtmlxcombo

Hi

i am new to dhtmlxcombo, i some how configured the part where i am getting info from db if the user starts entering something into combo. but if i normally click combo there is nothing coming . its not working, unless the user enters something the combobox is not working. can any one help me please
Answer posted by Support on Jun 24, 2008 02:22
>> but if i normally click combo there is nothing coming
This is default auto suggest mode behavior
The combo can work in normal mode - opening empty combo will show all possible options, or in auto-suggest mode, in such case it will show data only after some text typed

http://dhtmlx.com/docs/products/dhtmlxCombo/samples/filtering/combo_filter.html?un=1214300475000
Answer posted by Sirish on Jun 24, 2008 02:30
how can i get values from a db with this option ? is it possible
Answer posted by Support on Jun 24, 2008 02:57
You can load data with loadXML command
    var combo = new dhtmlXCombo(...
    combo.enableFilteringMode(true); //optional
    combo.loadXML(url); //the url can be a server side script, which will connect to DB and output all values