Interface: ColumnToMap#

grist-plugin-api.ColumnToMap

API definitions for CustomSection plugins.

Table of contents#

Properties#

Properties#

allowMultiple#

Optional allowMultiple: boolean

Allow multiple column assignment, the result will be list of mapped table column names.


description#

Optional description: null | string

Optional long description of a column (used as a help text in section mapping).


name#

name: string

Column name that Widget expects. Must be a valid JSON property name.


optional#

Optional optional: boolean

Mark column as optional all columns are required by default.


strictType#

Optional strictType: boolean

Match column type strictly, so “Any” will require “Any” and not any other type.


title#

Optional title: null | string

Title or short description of a column (used as a label in section mapping).


type#

Optional type: string

Column types (as comma separated list), by default “Any”, what means that any type is allowed (unless strictType is true).