DHTMLXgrid with XCombo filtering & display all values

Hi,

We have DHTMLXGrid 2.5 professional version. We have integrated dhtmlxCombo with Xgrid.In our application we have scenario were we need to display all the dropdown values even when filter is enabled. At the same we need to have the filtering functionality also. Could you please help us in achieve the solution for the above scenario?

e.g: In the below URL, while editing the first drop down(filtering mode) it will not display all the options if any value is selected already. But we need all values to be displayed. But if user enters partial value and click on enter or tab it should select the first value by default.

dhtmlx.com/docs/products/dht … combo.html

Regards,
Karthik

Hello,

You can disable auto complete mode in combo cell in grid. Just remove filter=“true” attribute from the tag in XML.
You can find more information about combo eXCell type here docs.dhtmlx.com/doku.php?id=dhtm … ll_combo&s[]=combo

Hi Olga,

Thanks for the reply. We do not want to disable filtering mode in combo cell in grid.
We want the following features in the combo cell in grid. Kindly help us in achieving the solution.

  1. When the user types something and if it is partially matching in the combo options then pressing tab or enter should select the option.
    e.g if the combo has the following options
    Capital, City, County, Country, District, Town
    Typing C should display Capital, City & Country. If we press enter it should select Capital
    Typing Co Should display County and Country. If we press enter or tab it should select County.
    Thus filtering should be applied only when user is typing some values.

  2. If the value does not exists in the options list it should be added to the list.

  3. When there is any value already present in the combo and click on drop down should display all the values instead of filtering only the selected values.
    e.g. In the above combo list, If Town is selected already and clicking on combo should display all the values. If no values is selected then Town should be retained.

Note: As of now by enabling filter=true we can achieve the first 2 features. But we could not able to display all the values when there is any value exists

Unfortunately there is no way to change auto complete mode in current version of “combo” eXcell type. Technically it possible to change the code of grid, so it will be able to support your requirements, but it will require heavy customization. You can contact sales@dhtmlx.com about customization details.