Class RVDashboardFilter

Class used to represent a dashboard filter.

Hierarchy

  • RVDashboardFilter

Index

Accessors

id

  • get id(): string
  • The ID of the filter.

    Returns string

selectedValues

  • get selectedValues(): object[]
  • set selectedValues(v: object[]): void
  • Get/sets filter's selected values. No items in the enumeration means all available values are selected.

    Returns object[]

  • Get/sets filter's selected values. No items in the enumeration means all available values are selected.

    Parameters

    • v: object[]

    Returns void

title

  • get title(): string
  • The title of the filter.

    Returns string

Methods

getFilterValues

  • getFilterValues(callback: function, errorCallback: function): void
  • Retrieves available filter values to be selected.

    Parameters

    • callback: function

      Will be invoked and the available values will be passed as an argument.

    • errorCallback: function

      Will be called in case of error.

        • (error: any): void
        • Parameters

          • error: any

          Returns void

    Returns void