Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Eric Stauffer on Jun 24, 2009 04:45
open dhtmlx forum
Filtering: How to show values from hidden column

I have two columns in a grid. The first column displays an image based on a value. When specifiying a #select_filter on that grid the combo is filled (as expected) with the values:

<img src='/images/reddot.png'>
<img src='/images/greendot.png'>

What I would like to do is to create a hidden column with the values "Yes" and "No" and have those values populate the combo box on the first column that is displaying the images rather than the actual HTML text as above.

Thanks in advance.

Answer posted by Alex (support) on Jun 24, 2009 05:26

In this case you should create custom filter as select_filter doesn't allow to implement this functionality. You can place select element into the header cell and define filter for it.

Please, see details in the article http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Data_filtering_search.html