DataFilterView class

The EasyQuery client-side view that represents the UI for data filtering page

Index

Public Properties

Public Methods

Protected Methods

Public Properties


context

● context: EqContext = new EqContext()


Public Methods


applyQueryFilter

Executes the filter query and display results.

▸ applyQueryFilter(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


Protected Methods


createDefaultBroker

Creates the default broker for the view.

▸ createDefaultBroker(context: EqContext): EqBroker

Parameters:

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

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


createFilterBarWidget

Creates the widget that represents Filter Bar.

▸ createFilterBarWidget(placeholderElement: HTMLElement): Widget

Parameters:

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

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


createResultGridWidget

Creates the widget that represents the result grid.

▸ createResultGridWidget(placeholderElement: HTMLElement): Widget

Parameters:

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

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