Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.
All documentation
  • API Reference for older versions
  • dataerror

    [starting from version: 2.3]

    It is triggered when some error occurred during the loading of data. To track when data starts loading, use loadingdata. To make sure that the loading of the data was successful, use dataloaded.

    This event can also be triggered when options.showEmptyData is set to false.

    The dataerror is supported by "json", "csv", and "elasticsearch" data source types. For "microsoft analysis services" and "api" data source types, use olapstructureerror.

    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('dataerror', function (e) {
    alert('Error with data!' + e.error);
    });

    Open the example on JSFiddle.

    See also

    loadingdata
    dataloaded
    olapstructureerror