ASPxVerticalGrid.AutoGenerateRows Property

Gets or sets whether rows are automatically created for all fields in the underlying data source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.1.dll


public bool AutoGenerateRows { get; set; }
Public Property AutoGenerateRows As Boolean

Property Value

Type Default Description


true, to automatically create rows for all fields in the underlying data source; otherwise, false.


The AutoGenerateRows property specifies which data fields are rendered by the ASPxVerticalGrid. By default, this property is set to true. This forces the ASPxVerticalGrid to render each field from the data source as a row. The order of rows is the same as the order of fields in the data source.

You can also manually control which rows are to appear in the ASPxVerticalGrid by setting the AutoGenerateRows property to false. In this case, you should manually add rows to the ASPxVerticalGrid.Rows collection.

See Also