Extends
Index
Constructors
Protected Properties
Public Methods
Protected Methods
- adjustButtonsVisibility
- baseExpressionItemSelectedCallback
- buttonMenuHandler
- changeTypeHandler
- changeTypeToAggr
- changeTypeToCustomSql
- createFunctionMenu
- enterButtonBlock
- getAttribute
- getAttributeCaption
- getButtonMenuSelectedItems
- getButtonsToShow
- getClassesToAdd
- getDefaultColumnCaption
- getDefaultTitleText
- getExtraButtonMenuItems
- getUIS
- hideButtons
- isColumnActive
- isEditable
- leaveButtonBlock
- processExtraButtonMenuItems
- renderBaseExpression
- renderCaptionBlock
- renderColumnTypeButton
- renderDeleteButton
- renderEnabledButton
- renderExpressionBlock
- renderMenuButton
- renderSoringButton
- showButtons
Constructors
constructor
⊕ new SimpleColumnRendererCP(panel: ColumnsPanel,column: Column,slot?: HTMLDivElement
): SimpleColumnRendererCP
Parameters:
- panel: ColumnsPanel
- column: Column
- slot:
HTMLDivElement
, Optional
Protected Properties
baseAttr
● baseAttr: EntityAttr
buttonMenu
● buttonMenu: PopupMenu = null
column
● column: Column
element
● element: HTMLDivElement
functionMenu
● functionMenu: PopupMenu = null
isMouseOverBlock
● isMouseOverBlock: boolean
= false
keepShowingButtons
● keepShowingButtons: boolean
= false
panel
● panel: ColumnsPanel
Public Methods
fireColumnChanged
▸ fireColumnChanged(): void
Returns void
refresh
▸ refresh(): void
Returns void
render
▸ render(): HTMLDivElement
Returns HTMLDivElement
Protected Methods
adjustButtonsVisibility
▸ adjustButtonsVisibility(): void
Returns void
baseExpressionItemSelectedCallback
▸ baseExpressionItemSelectedCallback(data: any
,item: any
): boolean
Parameters:
- data:
any
- item:
any
Returns boolean
buttonMenuHandler
▸ buttonMenuHandler(action: ColumnAction,evt: Event
): boolean
Parameters:
- action: ColumnAction
- evt:
Event
Returns boolean
changeTypeHandler
▸ changeTypeHandler(ev: Event
): void
Parameters:
- ev:
Event
Returns void
changeTypeToAggr
▸ changeTypeToAggr(funcId: string
): void
Parameters:
- funcId:
string
Returns void
changeTypeToCustomSql
▸ changeTypeToCustomSql(): void
Returns void
createFunctionMenu
▸ createFunctionMenu(): void
Returns void
enterButtonBlock
▸ enterButtonBlock(): void
Returns void
getAttribute
▸ getAttribute(): EntityAttr
Returns EntityAttr
getAttributeCaption
▸ getAttributeCaption(attr: EntityAttr,format?: string
): string
Parameters:
- attr: EntityAttr
- format:
string
, Optional
Returns string
getButtonMenuSelectedItems
▸ getButtonMenuSelectedItems(): Array
<string
>
Returns Array
<string
>
getButtonsToShow
▸ getButtonsToShow(): Array
<string
>
Returns Array
<string
>
getClassesToAdd
▸ getClassesToAdd(): string
Returns string
getDefaultColumnCaption
▸ getDefaultColumnCaption(): string
Returns string
getDefaultTitleText
▸ getDefaultTitleText(attr: EntityAttr): string
Parameters:
- attr: EntityAttr
Returns string
getExtraButtonMenuItems
▸ getExtraButtonMenuItems(): Array
<any
>
Returns Array
<any
>
getUIS
▸ getUIS(): boolean
Returns boolean
hideButtons
▸ hideButtons(): void
Returns void
isColumnActive
▸ isColumnActive(): boolean
Returns boolean
isEditable
▸ isEditable(): boolean
Returns boolean
leaveButtonBlock
▸ leaveButtonBlock(): void
Returns void
processExtraButtonMenuItems
▸ processExtraButtonMenuItems(action: ColumnAction | string
,evt: Event
): boolean
Parameters:
- action: ColumnAction |
string
- evt:
Event
Returns boolean
renderBaseExpression
▸ renderBaseExpression(): HTMLElement
Returns HTMLElement
renderCaptionBlock
▸ renderCaptionBlock(): HTMLDivElement
Returns HTMLDivElement
renderColumnTypeButton
▸ renderColumnTypeButton(): HTMLDivElement
Returns HTMLDivElement
renderDeleteButton
▸ renderDeleteButton(): HTMLDivElement
Returns HTMLDivElement
renderEnabledButton
▸ renderEnabledButton(): HTMLDivElement
Returns HTMLDivElement
renderExpressionBlock
▸ renderExpressionBlock(): HTMLDivElement
Returns HTMLDivElement
renderMenuButton
▸ renderMenuButton(): HTMLDivElement
Returns HTMLDivElement
renderSoringButton
▸ renderSoringButton(sorting: SortDirection): HTMLDivElement
Parameters:
- sorting: SortDirection
Returns HTMLDivElement
showButtons
▸ showButtons(): void
Returns void