Sorting in EJ 1 Angular Gantt
19 Sep 2017 / 1 minute to read
The Gantt control for JavaScript has built-in support for sorting one or more columns.
Sorting Columns
Gantt allows the tasks to be sorted in ascending or descending order based on the selected column by enabling the allowSorting
option in Gantt control. The following code example shows you how to enable sorting in Gantt control.
<ej-gantt id="GanttControl" [allowSorting]="true"
//...>
</ej-gantt>
Multicolumn sorting
Gantt allows you to sort multiple columns by clicking the desired column headers while holding the CTRL
key. The following code example shows you how to enable multicolumn sorting in Gantt control.
<ej-gantt id="GanttControl" [allowSorting]="true" [allowMultiSorting]="true"
//...>
</ej-gantt>
The following screenshot shows the output of multicolumn sorting in Gantt control.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page