[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.
| Parameter/Type | Description |
|---|---|
| params Object | Contains information about the event. |
| params.error String | The error message returned from the server side. |
pivot.on('queryerror', function (e) {
alert('Query error!' + e.error);
});Check the example on JSFiddle.