DHTMLX Docs & Samples Explorer

enableHeaderMenu()

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid_hmenu.js

enable pop up menu which allows hidding/showing columns

  • a string with comma delimited true,false values.
    • true - the column will be shown in the menu
    • false - the column won't be shown in the menu, so you can't hide/show it by this way
mygrid.enableHeaderMenu("false,true,false,false");

See also: setColumnHidden