GanttTaskListSettings.AllowSort Property
Specifies whether users can sort all columns.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Allow |
---|---|---|
ASP. |
Gantt |
|
ASP. |
ASPx |
|
#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