GridViewDataColumn.UnboundExpression Property
Gets or sets an expression used to evaluate values for the current unbound column.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue("")]
public virtual string UnboundExpression { get; set; }
<DefaultValue("")>
Public Overridable Property UnboundExpression As String
Property Value
Type | Default | Description |
---|---|---|
String | A string that specifies an expression used to evaluate values for the current column. |
Remarks
You can create an unbound column by setting the GridViewDataColumn.UnboundType property to a specific data type. Unbound columns can be populated manually via the ASPxGridView.CustomUnboundColumnData event, or by specifying an expression via the UnboundExpression used to evaluate values for this field. The Expressions section describes the syntax for creating expressions.
Using expressions doesn't allow data entered by end-users to be saved. To save data, provide data for unbound fields via the ASPxGridView.CustomUnboundColumnData event.
To learn more about unbound columns, see Unbound Columns.