Skip to main content

    RunQueryButton

    This button component is used for running queries. It supports four query states: idle, loading, success, and error.

    RunQueryButtonProps

    extends, , , ,
    NameTypeDefaultDescription
    disabled?
    false

    When the run query button is disabled it cannot be interacted with.

    queryState?
    idle

    The current button state.

    onClick?
    -

    Callback triggered when the RunQueryButton is interacted with.

    cancelable?
    true

    Whether the run query button is cancelable, i.e., if the loading state can be interrupted.

    Still have questions?
    Find answers in the Dynatrace Community