All documentation
  • API Reference for older versions
  • queryerror

    [starting from version: 2.3]

    It is triggered if some error occurred while running the query. This event can also be triggered when options.showEmptyData is set to false.

    Data passed to the handler

    Parameter/TypeDescription
    params
    Object
    Contains information about the event.
    params.error
    String
    The error message returned from the server side.

    Example

    pivot.on('queryerror', function (e) {
    alert('Query error!' + e.error);
    });

    Check the example on JSFiddle.

    See also

    querycomplete
    runningquery