All docs
V20.1
20.2 (EAP/Beta)
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.

GanttTaskListSettings.AllowSort Property

Specifies whether users can sort all columns.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(true)]
public bool AllowSort { get; set; }
<DefaultValue(True)>
Public Property AllowSort As Boolean

Property Value

Type Default Description
Boolean

true

true, to sort all columns; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowSort
ASPxGantt
.SettingsTaskList.AllowSort
GanttSettings
.SettingsTaskList.AllowSort
MVCxGantt
.SettingsTaskList.AllowSort

Remarks

The AllowSort property allows you to allow or deny users from sorting all columns in the control.

<dx:ASPxGantt runat="server" ID="Gantt" >
    <SettingsTaskList AllowSort="False" >
        <Columns>
            ...
        </Columns>
    </SettingsTaskList>
</dx:ASPxGantt>

To control users' ability to sort an individual control, use the AllowSort property.

<dx:ASPxGantt runat="server" ID="Gantt" >
    <SettingsTaskList Width="55%" >
        <Columns>
            <dx:GanttTimeEditColumn FieldName="FlightStart" />
            <dx:GanttTextColumn FieldName="ArriveTo" AllowSort="False" />
            ...
        </Columns>
    </SettingsTaskList>
</dx:ASPxGantt>

Examples

Online Demos

See Also