Unbound Rows
ASPxVerticalGrid supports bound and unbound rows. Bound rows obtain their data from a control’s data source. Unbound rows are not bound to any field in a data source. These rows can be populated manually by handling the ASPxVerticalGrid.CustomUnboundRowData event or by specifying an expression by the VerticalGridDataRow.UnboundExpression used to evaluate values for this field. The Expressions section describes the syntax for creating expressions.
There is no difference between working with bound and unbound rows. You can sort, filter, display summaries and filter unbound rows in the same manner as bound rows.
An unbound row meets the following requirements.
- Its VerticalGridDataRow.FieldName property must be set to a unique value and not refer to any field in ASPxVerticalGrid‘s data source.
- The row’s VerticalGridDataRow.UnboundType property must be set to an appropriate value based on the type of data the row is supposed to display (Boolean, DataTime, Decimal, Integer, String, Object). It shouldn’t be set to UnboundColumnType.Bound.