All documentation
  • API Reference for older versions
  • runningquery

    [starting from version: 2.3]

    It is triggered before a data query is started. It is used for both cases when data is already loaded and stored inside the component's local storage or when it is necessary to load data from the external data storage in case of OLAP data source. Data query is started when:

    • Any filter was used;
    • Slice was changed;
    • Drill up/drill down was used;
    • Columns or rows were expanded;
    • Drill through was used.

    To make sure that running of the query was successful use querycomplete. To track any errors use queryerror.

    Example

    pivot.on('runningquery', function () {
    alert('Query is running!');
    });

    Open the example on JSFiddle.

    See also

    querycomplete
    queryerror