Skip to main content

grid-pro.getcolumntype

Home > @genesislcap/grid-pro > getColumnType

getColumnType() function

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Return a column type base on each field's metadata from the selected resource.

Signature:

export declare function getColumnType(metadataType: string): string;

Parameters

Parameter

Type

Description

metadataType

string

The type of the field/column

Returns:

string

the column type

Remarks

Currently only handles numeric columns