Skip to main content

RepositoryItemLookUpEdit.SortColumnIndex Property

Gets or sets the column index against which data is sorted.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public int SortColumnIndex { get; set; }

Property Value

Type Default Description
Int32 0

The zero-based column index against which data is sorted.


The editor’s dropdown list can be sorted against a single column. The SortColumnIndex property specifies the index of this column.

To specify a column’s sort order, set the column’s LookUpColumnInfo.SortOrder property.

Set the RepositoryItemLookUpEdit.HeaderClickMode property to HeaderClickMode.Sorting to enable end-users to sort columns on a header click.

See Also