Class RVFormattingContext

Provides context information for a formatting request.

Index

Constructors

  • Parameters

    • dashboardId: string | null
    • requestingInitialFormat: boolean

    Returns RVFormattingContext

Accessors

  • get dashboardId(): string | null

    The ID of the dashboard where the formatting is being done. It is null if the formatting is not being done in the context of a particular dashboard.

    Returns string | null

  • set dashboardId(value: string | null): void

    Parameters

    • value: string | null

    Returns void

  • get requestingInitialFormat(): boolean

    Returns true iif the field has no formatting assigned. This can be used to avoid providing a new format to a field that has a format that was customized by the user.

    Returns boolean

  • set requestingInitialFormat(value: boolean): void

    Parameters

    • value: boolean

    Returns void