Skip to main content
Tab

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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AutoGenerateRows { get; set; }

Property Value

Type Default Description
Boolean true

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

Remarks

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