PivotTableFacet class

Extends

ResultFacet

Index

Constructors

Public Properties

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new PivotTableFacet(container: FacetContainer,options?: any): PivotTableFacet

Parameters:


Public Properties


title

● title: string = i18n.getText('Facets', 'Pivot', 'FacetTitle')


Protected Properties


canDisplayFlag

● canDisplayFlag: boolean = true


container

● container: FacetContainer


contentDiv

● contentDiv: HTMLElement


cssPrefix

● cssPrefix: string = "eqjs-facet"


dialogTitle

● dialogTitle: string = i18n.getText('Facets', 'Pivot', 'DlgTitle')


grid

● grid: EasyGrid


options

● options: any


pivotTable

● pivotTable: EasyDataTable = new EasyDataTable()


settings

● settings: CrossTabOptions


slot

● slot?: HTMLElement


Public Methods


destroy

▸ destroy(): void

Returns void


getContext

▸ getContext(): EqContext

Returns EqContext


getQuery

▸ getQuery(): Query

Returns Query


getSettings

▸ getSettings(): CrossTabOptions

Returns CrossTabOptions


getType

▸ getType(): FacetType

Returns FacetType


init

▸ init(slot: HTMLElement): void

Parameters:

  • slot: HTMLElement

Returns void


loadFromData

▸ loadFromData(data: any): void

Parameters:

  • data: any

Returns void


onResize

▸ onResize(): void

Returns void


refresh

▸ refresh(): void

Returns void


saveToData

▸ saveToData(): any

Returns any


showSettingsDialog

▸ showSettingsDialog(): Promise<boolean>

Returns Promise<boolean>


Protected Methods


canDisplay

▸ canDisplay(): boolean

Returns boolean


getContextDataTable

▸ getContextDataTable(): EasyDataTable

Returns EasyDataTable


getDialogService

▸ getDialogService(): DialogService

Returns DialogService


hideUnableDisplayMessage

▸ hideUnableDisplayMessage(): void

Returns void


refreshCore

▸ refreshCore(): void

Returns void


renderDialogContent

▸ renderDialogContent(): HTMLElement

Returns HTMLElement


renderFormFields

▸ renderFormFields(form: HTMLElement,fieldsContainer: HTMLElement): void

Parameters:

  • form: HTMLElement
  • fieldsContainer: HTMLElement

Returns void


showUnableDisplayMessage

▸ showUnableDisplayMessage(message?: string): void

Parameters:

  • message: string, Optional

Returns void


submitSettingsDialog

▸ submitSettingsDialog(): boolean

Returns boolean