Skip to content

DataFilterView class

The view that represents a data-filtering scenario (a text search for one entity/table)

View


⊕ new DataFilterView(): DataFilterView



● chartWidget?: Widget


● columnsBarWidget?: Widget


● columnsPanelWidget?: Widget


● context: EqContext


● domRoots: Array<Document | ShadowRoot> = [ document ]


● enableExport: boolean = false


● entitiesPanelWidget?: Widget


● exportWidget?: Widget


● filterBarWidget?: Widget


● localeWidget?: Widget


● processWidget?: Widget


● queryNameWidget?: Widget


● queryPanelWidget?: Widget


● resultCountSlot?: HTMLElement


● resultFacetPanelWidget?: Widget


● resultGridWidget?: Widget


● resultOptions: EqResultOptions


● resultPanelSlot?: HTMLElement


● sortingBarWidget?: Widget


● statementPanelWidget?: Widget


● statementWidget?: Widget



Obsolete. Left for backward compatibility. Use fetchData() instead

▸ applyQueryFilter(): void

Returns void


▸ detach(): void

Returns void


▸ executeQuery(options?: any): void

  • options: any, Optional

Returns void


▸ fetchData(): void

Returns void


▸ getContext(): EqContext

Returns EqContext


▸ init(options?: EqViewOptions): void

Returns void


Sets dialog service for the view

▸ setDialogService(dialogService: DialogService): void

  • dialogService: DialogService - The dialog service.

Returns void



Creates the widget that represents Chart Widget.

▸ createChartWidget(slotElement: HTMLElement): Widget

  • slotElement: HTMLElement

Returns Widget - the created Widget object.


Creates the widget that represents Columns Bar.

▸ createColumnsBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Columns Panel.

▸ createColumnsPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Entity Panel.

▸ createEntitiesPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Export funcionality.

▸ createExportWidget(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


Creates the widget that represents Filter Bar.

▸ createFilterBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Locale Widget.

▸ createLocaleWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Process Widget.

▸ createProcessWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Query Name Widget.

▸ createQueryNameWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Query Panel.

▸ createQueryPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Result Facets Panel Widget.

▸ createResultFacetsPanel(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


Creates the widget that represents Grid Widget.

▸ createResultGridWidget(slotElement: HTMLElement): Widget

  • slotElement: HTMLElement

Returns Widget - the created Widget object.


Creates the widget that represents Sorting Bar.

▸ createSortingBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Statement Panel Widget.

▸ createStatementPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


▸ disableExportButtons(): void

Returns void


Shows records count.

▸ displayRecordsCount(count: number): void

  • count: number - The value to show.

Returns void


▸ enableExportButtons(): void

Returns void


▸ hideResultSpinner(): void

Returns void


▸ initDone(): void

Returns void


▸ initOptions(options?: EqViewOptions): EqViewOptions

Returns EqViewOptions


▸ initWidgets(options?: EqViewOptions): void

Returns void


▸ resolveElement(elementOrId: string | HTMLElement): HTMLElement

  • elementOrId: string | HTMLElement

Returns HTMLElement


▸ resolveElementsByClassName(className: string): Element[]

  • className: string

Returns Element[]


▸ showResultSpinner(): void

Returns void


▸ toggleExportButtons(): void

Returns void