Skip to main content
A newer version of this page is available. .
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.v18.2.dll

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