Skip to content

AdvancedSearchView class

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


● context: EqContext = new EqContext()



Name of the class to add to disabled elements.

● disabledClass: string = "eqjs-disabled"



Builds and executes current query.

▸ buildAndExecute(options?: any): void

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

Returns void


Returns the context.

▸ getContext(): EqContext

Returns EqContext - [[EqContext]] object.


Initializes the view.

▸ init(options?: EqViewOptions): void

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

Returns void


Sends current query to back-end.

▸ syncQuery(): void

Returns void



Creates the widget that represents Columns Panel.

▸ createColumnsPanelWidget(placeholderElement: HTMLElement): Widget

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

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


Creates the default broker for the view.

▸ createDefaultBroker(context: EqContext): EqBroker

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

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


Creates the default chart provider for the view.

▸ createDefaultChartProvider(): ChartProvider

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


Creates the widget that represents Entity Panel.

▸ createEntitiesPanelWidget(placeholderElement: HTMLElement): Widget

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

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


Creates the widget that represents Query Panel.

▸ createQueryPanelWidget(placeholderElement: HTMLElement): Widget

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

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


Disables export buttons.

▸ disableExportButtons(): void

Returns void


Shows records count.

▸ displayRecordsCount(count: number): void

  • count: number - The value to show.

Returns void


Enables export buttons.

▸ enableExportButtons(): void

Returns void


Hides export buttons.

▸ hideExportButtons(): void

Returns void