Skip to content

SyncfusionExamples/how-to-perform-selection-in-angular-gantt-chart

Repository files navigation

Angular Gantt Selection Demo

A sample Angular application demonstrating row and cell selection behavior in the Syncfusion Angular Gantt Chart component.

Repository Description

This repository provides an Angular example showing how to configure and control selection features in the Syncfusion Gantt Chart, including multiple selection modes, persisted selection, and custom selection rules.

Features

  • Syncfusion Angular Gantt integration
  • Row and cell selection support
  • Multiple selection with toggle behavior
  • Persisted selection across refresh
  • Custom logic to prevent selection for specific rows and cells

Selection Configuration

The Gantt chart is configured with the following selection options:

  • selectionSettings.mode = 'Both'
  • selectionSettings.type = 'Multiple'
  • selectionSettings.enableToggle = true
  • selectionSettings.persistSelection = true

Getting Started

Prerequisites

  • Node.js (LTS or later)
  • npm
  • Angular CLI

Install and run

npm install
npm start

Open http://localhost:4200.

Notes

  • Data is imported from src/data.ts
  • Uses @ViewChild('ganttObj') for the Gantt API
  • Selection examples are included in app.component.ts
  • Sorting is enabled with [allowSorting]="true"

Resources

About

A quick start react project that allows you to perform selection in the Angular Gantt Chart component of Syncfusion.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors