Example of Column Menu in Javascript Gantt Control

/
/
Column Menu

This sample demonstrates the default functionalities of the column menu. Click on multiple icon of each column to open the column menu.

More Details...

Description

Gantt has an option to show column menu while clicking multiple icon of each column. The column menu has an integrated option to interact with the features such as sorting, filtering, column chooser, and autoFit. This feature can be enabled by setting showColumnMenu to true. The default items are, SortAscending - Sorts the current column in ascending order. SortDescending - Sorts the current column in descending order. AutoFit - Auto-fit current column. AutoFitAll - Auto-fit all columns. ColumnChooser - Chooses the column visibility. Filter - Filters the current column. In this demo, the column menu feature is enabled by setting showColumnMenu to true with sorting, filtering, column chooser, and autoFit options. Injecting Module: Gantt features are segregated into individual feature-wise modules. To use Column Menu feature, we need to inject ColumnMenu module using the Gantt.Inject(ColumnMenu) section. More information about column menu can be found in this documentation section.