AdvancedSearchView class

The EasyQuery client-side view that represents the UI for advanced search page

Index

Public Properties

Protected Properties

Public Methods

Protected Methods

Public Properties


context

● context: EqContext = new EqContext()


Protected Properties


disabledClass

Name of the class to add to disabled elements.

● disabledClass: string = "eqjs-disabled"


Public Methods


buildAndExecute

Builds and executes current query.

▸ buildAndExecute(options?: any): void

Parameters:

  • options: any, Optional - The options. In particular, options.page defines what page of data to query.

Returns void


getContext

Returns the context.

▸ getContext(): EqContext

Returns EqContext - [[EqContext]] object.


init

Initializes the view.

▸ init(options?: EqViewOptions): void

Parameters:

  • options: EqViewOptions, Optional - The [[EqViewOptions]] object.

Returns void


syncQuery

Sends current query to back-end.

▸ syncQuery(): void

Returns void


Protected Methods


createColumnsPanelWidget

Creates the widget that represents Columns Panel.

▸ createColumnsPanelWidget(placeholderElement: HTMLElement): Widget

Parameters:

  • placeholderElement: HTMLElement - The [[HTMLElement]] to place the created widget in.

Returns Widget - the created [[Widget]] object.


createDefaultBroker

Creates the default broker for the view.

▸ createDefaultBroker(context: EqContext): EqBroker

Parameters:

  • context: EqContext - The [[EqContext]] object.

Returns EqBroker - the created [[EqBroker]] object.


createDefaultChartProvider

Creates the default chart provider for the view.

▸ createDefaultChartProvider(): ChartProvider

Returns ChartProvider - the created [[ChartProvider]] object.


createEntitiesPanelWidget

Creates the widget that represents Entity Panel.

▸ createEntitiesPanelWidget(placeholderElement: HTMLElement): Widget

Parameters:

  • placeholderElement: HTMLElement - The [[HTMLElement]] to place the created widget in.

Returns Widget - the created [[Widget]] object.


createQueryPanelWidget

Creates the widget that represents Query Panel.

▸ createQueryPanelWidget(placeholderElement: HTMLElement): Widget

Parameters:

  • placeholderElement: HTMLElement - The [[HTMLElement]] to place the created widget in.

Returns Widget - the created [[Widget]] object.


disableExportButtons

Disables export buttons.

▸ disableExportButtons(): void

Returns void


displayRecordsCount

Shows records count.

▸ displayRecordsCount(count: number): void

Parameters:

  • count: number - The value to show.

Returns void


enableExportButtons

Enables export buttons.

▸ enableExportButtons(): void

Returns void


hideExportButtons

Hides export buttons.

▸ hideExportButtons(): void

Returns void