arlas-web-components / Exports / Column

Class: Column

Table of contents

Constructors

Properties

Constructors

constructor

new Column(columnName, fieldName, dataType)

Parameters

Name Type
columnName string
fieldName string
dataType string

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:64

Properties

columnName

columnName: string

Description

The column name

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:26


dataType

dataType: string

Description

Type of data that is appended to column name : %, °C, ..

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:34


dropdown: boolean = false

Description

Whether the filter search column has a dropdown.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:54


dropdownsize: number = 10

Description

Size of the dropdown list.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:58


fieldName

fieldName: string

Description

The name of the field related to this column.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:30


isIdField

isIdField: boolean = false

Description

Whether this column represents an id field.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:46


isToggleField

isToggleField: boolean = false

Description

Whether the cells of this column contains a toggle button.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:50


sortDirection

sortDirection: SortEnum = SortEnum.none

Description

Sort direction to apply to th column : ascending, descending or none

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:42


useColorService

useColorService: boolean = false

Description

Whether to allow colorizing cells that are within this column

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:62


width

width: number

Description

Width of the column.

Defined in

projects/arlas-components/src/lib/components/results/model/column.ts:38