Class ColumnType
Specifies the column type of the GridColumn, denoting the type of data it displays.
- StringA string type column.
- NumberA number type column. Primitive types such as int, int?, floar, double, decimal etc. are consider as number type column.
- IntegerA integer type column.
- DoubleA double type column.
- LongA Long type column.
- DecimalA Decimal type column.
- BooleanA boolean type column.
- DateA date type column. Primitive types such as datetime and datetimeoffset are consider as date type column.
- DateTimeA datetime type column. Primitive types such as datetime and datetimeoffset are consider as date type column.
- CheckBoxEnables checkbox column for selection purpose. No data operation is assosiated with this column.
Inheritance
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ColumnType : Enum
Fields
Boolean
A boolean type column.
Declaration
public const ColumnType Boolean
Field Value
Type |
---|
ColumnType |
CheckBox
Enables checkbox column for selection purpose. No data operation is assosiated with this column.
Declaration
public const ColumnType CheckBox
Field Value
Type |
---|
ColumnType |
Date
A date type column. Primitive types such as datetime and datetimeoffset are consider as date type column.
Declaration
public const ColumnType Date
Field Value
Type |
---|
ColumnType |
DateOnly
Specifies that the grid column is used to display and edit values of the System.DateOnly
struct.
Declaration
public const ColumnType DateOnly
Field Value
Type |
---|
ColumnType |
DateTime
A datetime type column. Primitive types such as datetime and datetimeoffset are consider as date type column.
Declaration
public const ColumnType DateTime
Field Value
Type |
---|
ColumnType |
Decimal
A decimal type column. Displays decimal values.
Declaration
public const ColumnType Decimal
Field Value
Type | Description |
---|---|
ColumnType | The value representing the "decimal" type column. |
Double
A double type column. Displays double values.
Declaration
public const ColumnType Double
Field Value
Type | Description |
---|---|
ColumnType | The value representing the "double" type column. |
Integer
An integer type column. Displays integer values.
Declaration
public const ColumnType Integer
Field Value
Type | Description |
---|---|
ColumnType | The value representing the "integer" type column. |
Long
A long type column. Displays long integer values.
Declaration
public const ColumnType Long
Field Value
Type | Description |
---|---|
ColumnType | The value representing the "long" type column. |
None
No column type is specified.
Declaration
public const ColumnType None
Field Value
Type |
---|
ColumnType |
Number
A number type column. Primitive types such as int, long, double, and decimal are considered number column types.
Declaration
public const ColumnType Number
Field Value
Type |
---|
ColumnType |
String
A string type column.
Declaration
public const ColumnType String
Field Value
Type |
---|
ColumnType |
TimeOnly
Specifies that the grid column is used to display and edit values of the System.TimeOnly
struct.
Declaration
public const ColumnType TimeOnly
Field Value
Type |
---|
ColumnType |