EnableHeaderMenu option is an in-built option to let the user to customize the visible columns in the Grid on runtime. They can show/hide the columns in the Grid using the context menu. Setting EnableHeaderMenu option to true enables header menu on grid.
Options Related To HeaderMenu
1.HeaderMenuMode
2.AllowColumnFreezing
![]()
HeaderMenuOnIconClick

HeaderMenuOnRightClick
Code Usage:
|
$gantt_container.GanttControl({ .... GanttTableOptions: { columns: columns, EnableHeaderMenu: true, HeaderMenuMode: "IconClick", // Option1 // HeaderMenuMode: "ContextMenu", // Option2 AllowColumnFreezing: false }, .... }); |
© RadiantQ 2022. All Rights Reserved.