Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.42 KB

File metadata and controls

55 lines (35 loc) · 1.42 KB

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