Gets or sets the type of the column.
Namespace: MindFusion.DataViews
File: GridColumn.js
JavaScript Copy Code |
---|
get dataType() {} |
One of the DataType-derived classes, which represents the type of this column.
Possible values include IntegerType, StringType, ImageType, DateType etc.
The following code creates a new Grid instance with 3 GridColumn-s on which it sets various properties including dataType: