All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttDataColumn.SortOrder Property

Specifies a column’s sort order.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

[DefaultValue(ColumnSortOrder.None)]
public virtual ColumnSortOrder SortOrder { get; set; }

Property Value

Type Default Description
ColumnSortOrder

None

One of enumeration values.

Available values:

Name Description
None

No sorting is applied to a column.

Ascending

Sorts the column in ascending order.

Descending

Sorts the columns in descending order.

Remarks

The ASPxGantt allows you to sort data by multiple columns. The SortOrder property specifies a column’s sort order.

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsTasksList >
        <Columns>
            <dx:GanttTextColumn FieldName="Title" AllowSort="True" SortOrder="Ascending" />
        </Columns>
    </SettingsTasksList>
</dx:ASPxGantt>

Note

Use the AllowSort (for individual column) or AllowSort (for all columns) properties to allow or deny users to sort data in the Gantt control.

Examples

Online Demos

See Also