Skip to main content
Tab

VerticalGridEditDataRow.CreateColumn(Type) Method

Creates a data row (which is a record in the grid view) for the specified data type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static VerticalGridEditDataRow CreateColumn(
    Type dataType
)

Parameters

Name Type Description
dataType Type

A Type descendant that represents the type of data to be displayed by the new row.

Returns

Type Description
VerticalGridEditDataRow

A VerticalGridDataRow descendant that represents the data row for the specified data type.

Remarks

dataType Return Value
null Initializes and returns a new instance of the VerticalGridTextRow object.
DateTime Initializes and returns a new instance of the VerticalGridDateRow object.
bool Initializes and returns a new instance of the VerticalGridCheckRow object.
(Any Other Type) Initializes and returns a new instance of the VerticalGridTextRow object.
See Also