Implements
Extends
Index
Constructors
Public Properties
Public Methods
- expressionChanged
- fireChangedEvent
- getExpressionIndex
- getModel
- getQuery
- isHidden
- isJustSorted
- isReadOnly
- loadFromData
- saveToData
- setHidden
- setReadOnly
Constructors
constructor
the default constructor.
⊕ new QueryColumnEx(query: Query,justsorted?: boolean
): QueryColumnEx
Parameters:
- query: Query
- justsorted:
boolean
, Optional
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
isHidden
Indicates whether this column is invisible
▸ isHidden(): boolean
Returns boolean
isJustSorted
Indicates whether this column is just-sorted
▸ isJustSorted(): boolean
Returns boolean
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
setHidden
▸ setHidden(value: boolean
): void
Parameters:
- value:
boolean
Returns void
setReadOnly
▸ setReadOnly(value: boolean
): void
Parameters:
- value:
boolean
Returns void