'Drop-down filter' in DHTMLXGrid

Hi there,



My application requires ‘tooltips’ to be place onto elements, therefore I am attempting to create a ‘drop-down’ filter in DHTMLXGrid by using the ‘makeFilter’ call on an HTML ‘Select’ element (to which I can apply a tooltip by using the ‘title’ attribute).



I must be doing something wrong though, as the component isnt populated with values from the column as expected.



If you ‘publish’ this question I can add my code as an attachment.



Thanks,



Si


Hello,


please attached the sample to recreate the issue

Thanks for the prompt reply!

Attached.

test_select_filter.zip (167 KB)

Change the loading code as


filteredGrid.load(“data.xml”,function(){
filteredGrid.refreshFilters();
});

By the way it possible to attach the custom tooltip to the native filters as well. You can use #select_filter and

filteredGrid.load(“data.xml”,function(){
filteredGrid.getFilterElement(1).title = “custom tooltip here”;
});