AggrFuncColumnRendererCP class

Extends

SimpleColumnRendererCP

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new AggrFuncColumnRendererCP(panel: ColumnsPanel,column: Column,slot?: HTMLDivElement): AggrFuncColumnRendererCP

Parameters:


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


changeTypeToSimple

▸ changeTypeToSimple(): void

Returns void


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:

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:

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:

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:

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:

Returns HTMLDivElement


showButtons

▸ showButtons(): void

Returns void