• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Show or Hide Column in ASP.NET Core Gantt Chart 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.


Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab