GanttDataColumn.SortIndex Property
In This Article
Specifies the column’s indexed position among sorted columns.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Int32 | -1 | The column’s index. |
#Remarks
The ASPxGantt allows you to sort data by multiple columns. The first sorted column gets the 0 sort index. The next sorted columns get the 1 index, etc. The SortIndex property allows you to specify the column’s sort index.
<dx:ASPxGantt ID="Gantt" runat="server"...>
...
<SettingsTasksList >
<Columns>
<dx:GanttTextColumn FieldName="Title" AllowSort="True" SortIndex="1" />
</Columns>
</SettingsTasksList>
</dx:ASPxGantt>
Note
Use the Allow
#Examples
#Online Demos
See Also