Example of Default in Angular Gantt Component

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

No records to display
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, sort, markers, inject the SelectionService , SortService and DayMarkersService into the @NgModule.providers section respectively.