Example of undefined in Javascript Gantt Chart Control


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

More Details...

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 property. They are: 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. Injecting Module: Gantt control features are segregated into individual feature-wise modules. To use a selection, inject the Selection module using the Gantt.Inject(Selection) method. To use markers, inject the DayMarkers module using the Gantt.Inject(DayMarkers) method.