Class RVDataSourceSelection

Object indicating what was selected by the end user, it could be a data source (like a database) or a data source item (like a table in a database).

Hierarchy

  • RVDataSourceSelection

Index

Accessors

dataSource

  • get dataSource(): null | RVDashboardDataSource
  • The selected data source or null if a data source item is selected.

    Returns null | RVDashboardDataSource

dataSourceItem

  • get dataSourceItem(): null | RVDataSourceItem
  • The selected data source item or null if a data source is selected.

    Returns null | RVDataSourceItem

Methods

Static withDataSource

  • Creates a selection object for a data source.

    Parameters

    • ds: RVDashboardDataSource

      the selected data source.

    Returns RVDataSourceSelection

    A new selection object with a data source selected.

Static withDataSourceItem

  • Creates a selection object with a data source item.

    Parameters

    • dsItem: RVDataSourceItem

      the selected data source item.

    Returns RVDataSourceSelection

    A new selection object with a data source item selected.