Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • 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/Type Description
    params
    Object
    Contains information about the event.
    params.error
    String
    The error message returned from the server side.

    Example

    flexmonster.on('dataerror', function (e) {
      alert('Error with data!' + e.error);
    });

    Open the example on JSFiddle.

    See also

    loadingdata
    dataloaded
    olapstructureerror