Example of Selection in ASP.NET MVC Gantt Chart Control

The selection feature enables you to highlight row or cell. It can be enabled by setting allowSelection to true.

DEMO
SOURCE
Selection Mode
Selection Type
Toggle Selection

The Gantt control supports two types of selection that can be set by using the selectionSettings.type property. They are:

  • Single - Sets a single value by default and allows only selection of a single row or a cell.
  • Multiple - Allows you to select multiple rows or cells. To perform the multi-selection, press and hold the CTRL key and click the desired rows or cells.

The Gantt control supports three types of selection modes that can be set by using the selectionSettings.mode

  • Row - Allows you to select only rows, and the row value is set by default.
  • Cell - Allows you to select only cells.
  • Both - Allows you to select rows and cells at the same time.

The Gantt control supports toggle selection that can be set by using the selectionSettings.enableToggle property.

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