Skip to main content
A newer version of this page is available. .

MVCxVerticalGridRowCollection.Add(String, String, MVCxVerticalGridRowType) Method

Adds a new row to the collection and specifies the row’s type, caption and bound field name.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public MVCxVerticalGridRow Add(
    string fieldName,
    string caption,
    MVCxVerticalGridRowType rowType
)

Parameters

Name Type Description
fieldName String

The name of a field to which the row is bound.

caption String

A String value that specifies the row’s caption.

rowType MVCxVerticalGridRowType

One of the MVCxVerticalGridRowType enumeration values that is a row type.

Returns

Type Description
MVCxVerticalGridRow

A MVCxVerticalGridRow object that is the newly added row.

See Also