ColumnEx class
Implements
Section titled “Implements”Extends
Section titled “Extends”- expressionChanged
- fireChangedEvent
- getExpressionIndex
- getModel
- getQuery
- isReadOnly
- loadFromData
- saveToData
- setReadOnly
Constructors
Section titled “Constructors”constructor
Section titled “constructor”the default constructor. ⊕ new ColumnEx(query: Query): ColumnEx
Parameters:
Section titled “Parameters:”- query: Query
Public Properties
Section titled “Public Properties”blockId
Section titled “blockId”The block ID.
● blockId: string
caption
Section titled “caption”The caption.
● caption: string
enabled
Section titled “enabled”Column is enabled
● enabled: boolean
The column expression.
● expr: Expression
● id: string
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”expressionChanged
Section titled “expressionChanged”▸ expressionChanged(expr: Expression,oldValue: string
): void
Parameters:
Section titled “Parameters:”- expr: Expression
- oldValue:
string
Returns void
fireChangedEvent
Section titled “fireChangedEvent”▸ fireChangedEvent(): void
Returns void
getExpressionIndex
Section titled “getExpressionIndex”▸ getExpressionIndex(expr: Expression): number
Parameters:
Section titled “Parameters:”- expr: Expression
Returns number
getModel
Section titled “getModel”▸ getModel(): DataModel
Returns DataModel
getQuery
Section titled “getQuery”▸ getQuery(): Query
Returns Query
isReadOnly
Section titled “isReadOnly”▸ isReadOnly(): boolean
Returns boolean
loadFromData
Section titled “loadFromData”Loads column from its JSON representation object.
▸ loadFromData(model: DataModel,colData: any
): void
Parameters:
Section titled “Parameters:”- model: DataModel - The Data Model.
- colData:
any
- The JSON representation object.
Returns void
saveToData
Section titled “saveToData”▸ saveToData(): any
Returns any
setReadOnly
Section titled “setReadOnly”▸ setReadOnly(value: boolean
): void
Parameters:
Section titled “Parameters:”- value:
boolean
Returns void