Column class

Represents some column which will be queried

Index

Constructors

Public Properties

Public Methods

Constructors


constructor

the default constructor. ⊕ new Column(): Column


Public Properties


blockId

The block ID.

● blockId: string


caption

The caption.

● caption: string


expr

The column expression.

● expr: Expression


params

The parameters associated with this column

● params: QueryParam[] = []


sortIndex

The index of the column in the sorting list.

● sortIndex: number


sorting

Column sorting direction

● sorting: SortDirection


Public Methods


loadFromData

Loads column from its JSON representation object.

▸ loadFromData(model: DataModel,data: ColumnData): void

Parameters:

Returns void


saveToData

Saves column to JSON representation object.

▸ saveToData(): ColumnData

Returns ColumnData - The JSON representation object.