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