Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[JsonAttribute(true, true, "")]
[TypeConverterAttribute(typeof(DataSourceViewSchemaConverter))]
[DefaultValueAttribute("")]
public virtual string SortExpression { get; set; }
Visual Basic
<JsonAttribute(True, True, "")> _
<TypeConverterAttribute(GetType(DataSourceViewSchemaConverter))> _
<DefaultValueAttribute("")> _
Public Overridable Property SortExpression As String
	Get
	Set

Remarks

This property does not bind the column to a field in data source. To bind a column to a field, see the documentation for the specific column type.

See Also