Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemLookUpEdit.SortColumnIndex Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public int SortColumnIndex { get; set; }

#Property Value

Type Description
Int32

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

#Remarks

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