Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by therain on May 09, 2009 00:12
open dhtmlx forum
Dhtmlx grid combo filter

Hi

I m using dhtmlx grid. In that filter header ie #combo_filter .
ex. The data is as follows .. for the 3rd column in grid , i have a combo filled of data coming from the A-xml

now A-xml is :--
<?xml version="1.0" encoding="ISO-8859-1"?>
<complete>
<option value="1">ABC</option>
<option value="2">DEF</option>
</complete>


When the page is loaded, in the header combo filter, the values - 1 and 2 are appearing in the drop down list ,which is incorrect . the drop down list should display the text ie " ABC and DEF " . just as it appears in the combo box in the data grid .

Kindly help. Thanks.
Answer posted by dhxSupport on May 11, 2009 05:25
This is expected behaviour as in xmlA format grid recognize "<option" attributes as cell's values. Please see more information about supported loading types here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Loading_data_in_grid.html#grid_art_loadingdata
Answer posted by therain on May 11, 2009 06:25

Hi ,
I think theres some confusion. I m asking for the combo filter ie "#combo_filter " which is used in the header of the grid.

 

 

Answer posted by dhxSupport on May 11, 2009 06:50
Could you please provide us sample where we can reproduce this issue? You can send it directly to the support@dhtmlx.com
Answer posted by Adam Downs on May 20, 2009 09:22

I am having the same issue... I am using a tree grid with a combo box column and trying to use the #select_filter in the header... It only pulls the values into the select_box not the text related to the vaule... This also happens if I use #combo_filter

 

 

Answer posted by Support on May 20, 2009 10:29
Please contact us directly at support@dhtmlx.com and provide your ref. number - we will send you an updated js file, which resolves mentioned issue ( incorrect option list collection for combo based column )