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