Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rene Christensen on Oct 07, 2007 22:37
open dhtmlx forum
dhtmlXCombo always display filtering results

Is there any way to have dhtmlXCombo to always show the filtering result?

What I want is actually showing all data, and start to narrow the data down, as more input it being entered, that matches.

Ideally what I would like to is this:

Input field thats empty.

Below is the result div.dhx_combo_list.

The results show all elements from an XML data file.

One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten

When I write "F" in the input field, I want the div.dhx_combo_list to be filtered so only items beginning with F is left:

Four
Five

..
Any way to do this already, or do I need to rewrite the js code?
Answer posted on Oct 09, 2007 14:50
Actually the current filtering mode works exactly the same (isn't it)

    combo.enableFilteringMode(true);

In such mode combo will show only values which are contain typed text.