Column class
Represents some column which will be queried
Constructors
Section titled “Constructors”constructor
Section titled “constructor”the default constructor. ⊕ new Column(): Column
Public Properties
Section titled “Public Properties”blockId
Section titled “blockId”The block ID.
● blockId: string
caption
Section titled “caption”The caption.
● caption: string
The column expression.
● expr: Expression
params
Section titled “params”The parameters associated with this column
● params: QueryParam[] = []
sortIndex
Section titled “sortIndex”The index of the column in the sorting list.
● sortIndex: number
sorting
Section titled “sorting”Column sorting direction
● sorting: SortDirection
Public Methods
Section titled “Public Methods”loadFromData
Section titled “loadFromData”Loads column from its JSON representation object.
▸ loadFromData(model: DataModel,data: ColumnData): void
Parameters:
Section titled “Parameters:”- model: DataModel - The Data Model.
- data: ColumnData - The JSON representation object.
Returns void
saveToData
Section titled “saveToData”Saves column to JSON representation object.
▸ saveToData(): ColumnData
Returns ColumnData - The JSON representation object.