dhtmlxgrid: custom tooltip in header cell

Hi,



I am trying to add a custom tooltip in a header as described here dhtmlx.com/dhxdocs/doku.php? … er_extra&s[]=dhtmlxcombo&s[]=tooltip#custom_look_tooltips_for_header_cell



The tooltip does appear as it should. However header cell contains “Product Type{#special}” instead of “Product Type”.

The relevant portion of html code in firebug looks like this

"



Product Type{#special}


"

My code is below. Let me know what i might be doing wrong.



Thanks!



Victoria

































Please try to use following code:

mygrid._in_header_special=function(tag,index,data){
tag.innerHTML=data[0];
tag.title=“Warning!”;
}

This works. Thank you!