enableheadermenu

I activated the context menu to hide/show columns through the method enableheadermenu.

I would like to enable this functionality only for certain columns, is that possible?

Thanks

You may try to define the columns the menu will

Try to set the columns for which menu should work (dis[play in the list) right in enableHeaderMenu() method:
mygrid.enableHeaderMenu(“false,true,false,false”);
true - the column will be shown in the menu
false - the column won’t be show in the list of menu. it’s visibility change is not available with header menu

thanks! it worked

The documentation is updated for the better understanding of the method:
docs.dhtmlx.com/doku.php?id=dhtm … headermenu