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