Header Right Click

I want to use event after header is clicked by mouse right click.



Are there any function or solutions?



Help me please.

There is no native event, but you can use code similar to next

dhtmlxEvent(mygrid.hdr,“click”,function(e){
var button = (e||event).button;
if (button == 2)
do_something();
})

where mygrid - reference to the grid object