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

MVCxGridViewColumn.ColumnType Property

Gets or sets the column data editor type.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxGridViewColumnType ColumnType { get; set; }

Property Value

Type Description
MVCxGridViewColumnType

One of the MVCxGridViewColumnType enumeration values.

Available values:

Show 16 items
Name Description
Default

Indicates that a default editor (TextBox) is used to edit column values.

TextBox

Indicates that a text box is used to edit column values.

ButtonEdit

Indicates that a button editor is used to edit column values.

CheckBox

Indicates that a check box is used to edit and display column values.

ComboBox

Indicates that a combo box is used to edit column values.

DateEdit

Indicates that a date editor is used to edit column values.

SpinEdit

Indicates that a spin editor is used to edit column values.

TimeEdit

Indicates that a time editor is used to edit column values.

ColorEdit

Indicates that a color editor is used to edit column values.

DropDownEdit

Indicates that a drop down editor is used to edit column values.

Memo

Indicates that a memo editor is used to edit column values.

BinaryImage

Indicates that a binary image editor is used to display column values.

Image

Indicates that an image editor is used to display column values.

Indicates that a hyperlink editor is used to display column values.

ProgressBar

Indicates that a progress bar is used to visualize column values.

TokenBox

Indicates that a token box is used to edit column values.

Remarks

Use the ColumnType property to specify the GridView column’s data type. By default, the ColumnType property is set to Default. In this instance, a text box is used to edit column values.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also