Hi im trying to filter a combo with images without success, how I can filter with images ? I create my own filter but either works. I cant see the images and i dont now how i can filter by that image.
Thear is a little of my bad code
dhtmlXGridObject.prototype._in_header_select_filter_state=function(t,i,c){
t.innerHTML = "<div id='divComboStatus'><select id='comboStatus' name='status' opt_type='image' width='50px'> <option value='0' img_src='url(../jsps/images/okGreen.png)'></option> <option value='0' img_src='url(../jsps/images/warningSmallGif.gif)'></option> </select></div>";
t.onclick=t.onmousedown = function(e){(e||event).cancelBubble=true;return true};
t.onselectstart=function(){return (event.cancelBubble=true)};
this.makeFilter(t.firstChild,i);
/*t.firstChild.onchange=function(e){
var valueSelected = document.getElementById("comboStateFilter").value;
alert(valueSelected);
}*/
}
mygrid.attachHeader("#select_filter_type,#select_filter,#select_filter_state,#text_filter");
Best Regards