Back to Devexpress

ASPxVerticalGrid.AutoGenerateRows Property

aspnet-devexpress-dot-web-dot-aspxverticalgrid-5aba68ae.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool AutoGenerateRows { get; set; }
vb
<DefaultValue(True)>
Public Property AutoGenerateRows As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

Vertical Grid

ASPxVerticalGrid Class

ASPxVerticalGrid Members

DevExpress.Web Namespace