Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jonathan on Jun 18, 2008 08:48
open dhtmlx forum
enableHeaderMenu style

What style parameters are valid for adjusting the display of the header context menu. I have a grid with many columns and when using this the context menu is many times the height of the grid. I've tried using set width, height, and overflow parameters in my css for .dhx_header_cmenu which I found in another post, but these parameters aren't having any effect.
Answer posted by Support on Jun 20, 2008 10:02
The height of menu set by js code, so it can't be defined in CSS
By default menu takes the size, necessary to fit all elements, it is defined in

dhtmlxgrid_hmenu.css, line 101
    d.style.height=d.scrollHeight+4+"px";
    d.style.overflow="hidden";

You can update those line in necessary way.