• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Show or Hide Column in ASP.NET MVC Gantt Control

This sample demonstrates dynamic show/hide columns feature of Gantt. Select column name from the properties panel, and then click hide/show to toggle visibility.

DEMO
SOURCE
Column
Hidden Columns

The Gantt column can be shown or hidden dynamically using the showColumn and hideColumn methods of the Gantt.

In this demo, the columns can be shown and hidden by selecting the column name in dropdown. Click the Show or Hide button to toggle the visibility. The visibility of column is toggled based on the Columns -> HeaderText value.


The Columns -> Visible property specifies the visibility of a column. To hide a column at the initial rendering, set the Columns -> Visible property to false.