DHX Grid : Custom Filter

Hi there,

I am having image in one column on which I want to put a filter.

As #select_filter will show the whole img tag and we do not have image as filter in combobox in DHX.

How to put userdata which will contain image type and those userdatas will be populated in the filter combo box.



Can u please tell me the steps or help with some example. ???

The select filter gets values from the column using getValue method. This method returns values according to the column type.

If you don’t want to show some text in the options, you can:

1) redefine getValue method for the used column type (excell) ( changing can be done in the dhtmlxgridcell.js) or create a new excell. Please, see article in the documentation dhtmlxGrid/doc/articles/Custom_excell_creation.html (dhtmlx.com/docs/products/dht … earch.html )