Example of Default in React Gantt Component

/
/
Sorting

This sample demonstrates the Gantt multi-sorting feature. To sort two or more columns, hold the CTRL key, and click the column header.

More Details...

40
Begin Next Project Planning
8/25/20258/28/20254 days0
39
Celebrate Project Completion
8/20/20258/22/20253 days0
34
Client Handover
7/21/20257/22/20252 days0
31
Correction of Issues
7/9/20257/11/20253 days0
28
Exterior Finishing
6/23/20256/26/20254 days0
30
Final Inspection
7/4/20257/8/20253 days0
38
Final Project Documentation
8/15/20258/19/20253 days0
32
Final Walkthrough
7/14/20257/15/20252 days0
37
First Year Warranty Review
8/8/20258/14/20255 days0
13
Framing
5/1/20255/8/20256 days100
14
Frame Floors
5/1/20255/2/20252 days100
15
Frame Walls
5/5/20255/6/20252 days100
16
Install Trusses
5/7/20255/8/20252 days100
33
Handover Preparation
7/16/20257/18/20253 days0
22
Interior Finishing
5/27/20256/20/202519 days0
26
Cabinet and Fixture Setup
6/13/20256/17/20253 days0
27
Final Fixture Installation
6/18/20256/20/20253 days0
25
Flooring Installation
6/9/20256/12/20254 days0
23
Insulation and Drywall
5/27/20256/2/20255 days0
24
Interior Painting
6/3/20256/6/20254 days0
29
Landscaping
6/27/20257/3/20255 days0
18
Mechanical, Electrical, Plumbing
5/14/20255/26/20259 days50
21
Electrical Installation
5/22/20255/26/20253 days0
19
HVAC Installation
5/14/20255/16/20253 days100
20
Plumbing Installation
5/19/20255/21/20253 days50
1
Planning and Permits
4/2/20254/10/20257 days100
4
Finalize Planning
4/9/20254/10/20252 days100
3
Obtain Permits
4/4/20254/8/20253 days100
2
Site Evaluation
4/2/20254/3/20252 days100
17
Roofing
5/9/20255/13/20253 days100
36
Routine Maintenance Visits
7/25/20258/7/202510 days0
5
Site Preparation
4/10/20254/30/202514 days100
9
Foundation and Basement
4/22/20254/30/20257 days100
12
Basement Walls
4/28/20254/30/20253 days100
11
Cure Foundation
4/24/20254/25/20252 days100
10
Pour Foundation
4/22/20254/23/20252 days100
8
Foundation Work
4/16/20254/21/20254 days100
7
Grading and Excavation
4/11/20254/15/20253 days100
6
Site Clearing
4/10/20254/10/20250 days100
35
Warranty Period Begins
7/23/20257/24/20252 days0
Begin Next Project Planning
Celebrate Project Completion
Client Handover
Correction of Issues
Exterior Finishing
Final Inspection
Final Project Documentation
Final Walkthrough
First Year Warranty Review
Framing
Frame Floors
Frame Walls
Install Trusses
Handover Preparation
Interior Finishing
Cabinet and Fixture Setup
Final Fixture Installation
Flooring Installation
Insulation and Drywall
Interior Painting
Landscaping
Mechanical, Electrical, Plumbing
Electrical Installation
HVAC Installation
Plumbing Installation
Planning and Permits
Finalize Planning
Obtain Permits
Site Evaluation
Roofing
Routine Maintenance Visits
Site Preparation
Foundation and Basement
Basement Walls
Cure Foundation
Pour Foundation
Foundation Work
Grading and Excavation
Site Clearing
Warranty Period Begins
Description

The sorting feature enables you to order data in a particular direction. It can be enabled by setting allowSelection to true.

To sort a Gantt column, click the column header. The icons (ascending) and (descending) specifies the sort direction of a column.

By default, the multi-sorting feature is enabled in Gantt. To sort multiple columns, hold the CTRL key, and then click the column header. To clear sort for a column, hold the SHIFT key, and then click the column header.

In this demo, multiple sorting enabled on load time by assigning multiple columns into sortSettings property.

Gantt component features are segregated into individual feature-wise modules.To use a selection, inject the Selection module using the Gantt.Inject(Selection) method. To use sort, inject the Sort module using the Gantt.Inject(Sort) method.To use markers, inject the DayMarkers module using the Gantt.Inject(DayMarkers) method.


More information on the Essential® React Gantt Chart can be found in this documentation section.