I am trying to use the enable hear menu functionality of the grid to hide and unhide columns. But i dont want my users to hide columns which contain data. So the menu should only list out columns which do not have data. Is this possible??
You can modify dhtmlxgrid_hmenu.js in any necessary way.
dhtmlxgrid_hmenu.js, line 49
dhtmlXGridObject.prototype._createHContext=function()
…
if (some_custom_rule(true_ind))
a.push("<div class='dhx
line marked in bold - may be your custom rule - which column need to be shown in header menu.