Skip to content

Column format

ColumnFormatBase

Bases: BaseModel

Represents the base object for column format.

Attributes:

Name Type Description
heading str

The heading of the column.

description str

A description of the column. Default = "".

ColumnFormatNumeric

Bases: ColumnFormatBase

Represents a numeric column.

Attributes:

Name Type Description
min_val NumericValueT

The minimum value allowed.

max_val NumericValueT

The maximum value allowed.

step NumericValueT

The step value for increments.

ColumnFormatSelect

Bases: ColumnFormatBase

Represents a column with multiple values to select from.

Attributes:

Name Type Description
options List[str]

A list of selectable options.

ColumnFormatString

Bases: ColumnFormatBase

Represents a string column.

Attributes:

Name Type Description
max_chars int

The maximum number of characters allowed.